Allows the user to create forms simply using a shortcode [flg-form], with all the common fields pre-built and ready for use
The default field set is:
'title', 'first_name', 'last_name', 'email', 'telephone', 'submit'
So if you simply use the shortcode with no attributes it will create a form with those fields, and with title, first_name last_name and email as required fields, and with html5 enabled and the html5shiv enqued also.
If you set form_type to 'subscribe' it adds a field for username and password, with password automatically having a confirm field as well, which is of course part of the in-built form validation. The user is added to WP as a subscriber and notifications are sent also.
If you set 'contact' as the form_type attribute, then instead of username and password the plugin adds a text field for company, and a subscribe to newsletter checkbox. If they hit subscribe then they are added to Wp as a subscriber, with the first part of their email as username (numbers are appended if the name exists, and continue to be changed until unique name is found).
The function that does all that field adding ends with a filter, as does the function that configures all the field settings such as type/required etc for easy addition of custom field types.
More from Webby Scots
Requires: 3.0 or higher
Compatible up to: 3.8.8
Last Updated: 2014-2-6
Active Installs: 10+
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?