Flexi- Custom Fields

We can keep own set of custom fields using shortcodes only. The shortcode used on this page is at the bottom of the page.


[flexi-form class="pure-form pure-form-stacked" title="Submit" name="my_form" ajax="true"]
[flexi-form-tag type="post_title" title="Title" value="" placeholder="main title" required="true"]
[flexi-form-tag type="text" name="flexi_field_1" title="Location"]
[flexi-form-tag type="other" new_type="date" name="flexi_field_2" title="Photo taken"]
[flexi-form-tag type="file" title="Select file"]
[flexi-form-tag type="other" new_type="hidden" name="cat" value="57"]
[flexi-form-tag type="submit" name="submit" value="Submit Now"]
[/flexi-form]

I wanted the content posted on this form should go in “unspecified” category. In our database “unspecified” category id is 57. So we used hidden field where no selection of category is shown but will get submitted into unspecified category whose id is 57

[flexi-form-tag type="other" new_type="hidden" name="cat" value="57"]