Integration

Form Gadget provides support for a number of 3rd Party Integrations. We're always looking for feedback from our community on additional integrations to add, contact us if you'd like to see a specific integration added.

The substitution syntax provides a wide array of possibilities for combining and manipulating the form fields but does not support every use case. For use cases which are not covered, it is recommended to add a hidden input field to the form and to use the Post Validate event to do the necessary processing.

Substitution Syntax

Each 3rd Party service has been mapped to authentication and number of request fields that are required or optional. The required and optional fields can be filled out using the substitution syntax provided by Form Gadget. The substitution syntax attempts to mirror Javascript syntax as closely as possible.

Literals

Literals should be used when a constant value is desired for the integration. For instance, it's common to use a string literal in an email integration to specify a subject line.

String Literal

Used when a constant String value is desired.

'email-address@formgadget.com'

Boolean Literal

Used when a constant true or false value is desired.

true

Number Literal

Used when a constant Integer or Float is desired.

123.456

Variable

Used when a form field or form meta-data field is desired. It is important to note that optional form fields can only be used in optional integration fields, see the String Template section to learn how to build a composite form field which can use optional form fields in required integration fields.

If your form includes an input with name='firstName'

<input type="text" name="firstName" placeholder="First Name" data-validate="required" />

The following shows how it can be referenced in an.

firstName

String Template

Used when wanting to create a composite String from multiple form fields. If the form fields are optional and they are left blank or null, then the substitution results in a blank being substituted.

`firstName is: ${firstName}, lastName is: ${lastName}`

JSON

Used when wanting to construct a JSON object that will be sent to the integration. Useful in particular when creating a custom integration.

{ "firstName": firstName, "lastName": lastName }


Meta Variable

There is a special meta variable available for all integrations that is added by the Form Gadget system automatically. It can be used in 3rd Party Integrations in the same ways as any form variable.

created_iso_8601

This meta variable is an ISO 8601 UTC date time representation of when the form submissions was received by the Form Gadget server. An example of March 17th, 2019 at 4:21 PM is 2019-03-17T04:21:21.04Z


Email Autoresponders

It is possible to use Form Gadget to send autoresponder emails to users who fill out your form. To be eligible to send autoresponder emails, the emails must be sent by an email address from the team domain and therefore require email address verification. To request email address verification please fill out the contact form.


Google reCaptcha Integration

After logging in, see the Readme page for instructions on integrating Google reCaptcha.