Flexi Demo

Wordpress Flexi Plugin

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="Release Date"]
[flexi-form-tag type="file" title="Select file"]
[flexi-form-tag type="other" new_type="hidden" name="cat" value="12"]
[flexi-form-tag type="submit" name="submit" value="Submit Now"]

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

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