WPForm FLG360 – WordPress Plugin Form Shortcode-FLG360 API

FLG360 Logo

Allows the user to create forms simply using a shortcode [flg-form], with all the common fields pre-built and ready for use

set as the fields attribute. There is also a form type attribute, which provides different fields on top of the default
field set.

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’ [flg-form form_type=’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 [flg-form form_type=’contact’], 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.

== Installation ==

Download from github

1. Extract the zip and add the entire plugin directory to the /wp-content/plugins/ directory
1. Activate the plugin through the ‘Plugins’ menu in WordPress
1. Then simply use the shortcode with the following parameters:

‘fields’ => ”, // list the fields you want to appear. Keep watching as this page is updated with full instructions on available fields
‘api_url’ => ”,//the API url as flg360 uses username subdomains, may change this to FLG user and build url from that
‘site’ => ”, //the FLG360 site to add the lead under
‘leadgroup’ => ” //the FLG360 leadgroup to add the lead under,
‘source’ => ”, //FLG360 source
‘medium’ => ”, //FLG360 source
‘form_type’ => ”, // as laid out above.
‘legend’ => ‘Please fill out form’, //Appears above the form
‘submit_label’ => ‘Submit’ //Submit label to use-text in button


Posted in Featured, Plugins and tagged , , .


  1. Pingback: WPForm – WordPress Plugin Form Shortcode for FLG 360 | Sales Lead Genius - From FLG 360

  2. Hi Scot,

    Thanks for creating this plugin, I downloaded it and installed but get an error on activation, is this something you can help with? –

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /homepages/41/d487215389/htdocs/www.domian.co.uk/wp-content/plugins/WPForm-FLG360-master/wswp-form-flg.php on line 413

    • Hi Neil,

      This has been fixed in v1.0.1 – the new version is already in the WordPress repository so you can update it, or download and reinstall, whatever is your preference.

    • Hi Neilo,

      I don’t remember if I notified you but the issue you had was fixed in an update, if you update to the latest version you can use it for sure.

Leave a Reply

Your email address will not be published. Required fields are marked *