Knowledge Base

Form Builder

  • The Terminalfour Form Builder is an editor, enabling you to easily create advanced web forms without programming. The forms you create can be fully customized to meet your needs.
  • A form is defined in Terminalfour using a content type as its basis. When a form is created and a submission made, Terminalfour creates a corresponding content type to manage the content.
  • This editor is only available to Administrators, but once the form is created, you can permit any user role to add a form to a Section by means of a Content Type. They can also view the results within a Section.
  • Your forms are stored on a dedicated form bank server, which your Terminalfour installation connects to using authentication.

How to create a new form

  • Create a new form.
  • Select field types to add new fields to your form.
  1. Go to Engage -> Forms & Transactions -> + Add new form.
  2. Fill in the relevant information at the General settings level:
    1. Form name: The name used to identify your form.
    2. Description: enter a clear description with what this form is to be used for.
    3. Display options:
      1. Show name on form: check this box to display this form as a heading <h2> at the top of your published form.
      2. Show description on form: check the box to display the description as paragraph text <p> towards the top
        of your published form.
      3. Include styling: leaving this box checked will style your form using the default Bootstrap CSS to style your form. Uncheck the box to use your own CSS style associated with your page layout.
  3. Click Next ->

Form Preview

How to add fields to the new form

  1. Click on a field type to add it to your form.
  2. Add as many fields as are necessary for your form (maximum of 75 fields per form).
  3. The blue Submit button is a configurable default field.
  4. Click on the blue Edit area to customize the fields in your form.
  5. To reorder the fields, grab the field title and drag it to another area.
  6. Once you’ve set up the fields, click Save and continue ->

Field / input types

To get started, click on a field type to add it to your form:

Icon Field type Description
Screenshot of Forms text input button Text input Adds a text input used for text, numbers, passwords, web addresses etc.
Email input Adds an email input with an option to allow the user to receive a confirmation of their submission by email
Screenshot of Forms dropdown button Dropdown Allows users to select a single option from a dropdown
Screenshot of Forms Checkbox button Checkbox Allows multiple options to be selected from a group
Screenshot of Forms radio group button Radio group Allows users to select a single option from a group
Screenshot of Forms Date button Date Allows users to select a date and optional time
Screenshot of Forms Date Range button Date range Allows a start and end date to be set
Screenshot of Forms text area button Text area Allows multiple lines of text to be entered
Screenshot of field button Form WYSIWYG WYSIWYG

Displays a WYSIWYG editor to enter HTML.

TinyMCE, the WYSIWYG editor that Form Builder uses, follows the WAI specification making it compatible with screen readers. 
Find out more about Tiny MCE's Accessibility features.

Screenshot of Forms File button File Uploads a file
Screenshot of Forms Hidden button Hidden Adds an input that will submit a value without the user seeing it
Advanced inputs
Screenshot of Forms cc info button CC info Adds the required fields to accept payment information from the user. i.e. credit card number, expiry date etc. Only one occurrence allowed per form
reCAPTCHA Adds a  to help prevent spam submissions (available from Terminalfour v8.2.10)
Static elements
Screenshot of Forms Heading button Heading Adds a Heading to the form
Screenshot of Forms Paragraph button Paragraph Adds text to the form - useful to explain parts of your form to users
Screenshot of Forms line break button Line break Adds a line between fields to divide the form into sections

How to add dependencies

  • This is an optional area.
  1. Select +Add dependency.
  2. Configure dependencies as are applicable to your form.
    1. The select field drop down will show you the fields you’d previously selected for your form.
    2. Select operator to add logic to your submissions.
    3. Enter a value if needed.
    4. Apply the “then” properties.
    5. Add as many dependencies as you need.
    6. Remove or reorder the dependencies by dragging and dropping.
    7. Click Next ->

Dependency

How to set up submissions

  1. Save submissions to:
    1. Terminalfour only: this will save submissions to an unpublished section within Terminalfour.
    2. Named child section: will save submission to a child section. The name you give it will be the name of the section and drops in under the Form section.
    3. Specified section: save submissions to a specific section dedicated to receive the form submissions.
  2. Submission name mapping: select the field you wish your submissions to be mapped to.
  3. Channel mapping: if needed, select the channel associated with submissions for this form.
  4. Additional Submission Options:
    1. Also submit to: configure how you want to process online payments.  Check this box if the form requires the payment gateway to be turned on.
    2. Webhook URL: enter a webhook URL.
      When a form submission is received in Terminalfour, the submission data will be sent to the URL in the Webhook URL field.
  5. Redirection options on success:
    1. Show a message: select showing a message on success.
    2. Redirect location on submission success: select either a specific section on your Site Structure, or redirect to a URL.
  6. Redirection options on failure:
    1. Show a message: select showing a message on failure. 
    2. Redirect location on submission failure: same as above with submission success.
  7. Click Next ->

How to set up for email

  1. Select users and/or groups that are in the Terminalfour system.
  2. Non-application recipients: you can also add email addresses for people or groups who are not in the Terminalfour system.
  3. Additional options:
    1. Subject field mapping: select the subject field—this will become the email subject.
    2. Recipient minimum user level: select a minimum recipient Terminalfour user level.
    3. Sender / Reply-to mapping: sets the sender reply-to headers to allow replies to be sent to the correct address.
  4. Select Save and continue ->.
  5. Copy the Handlebars expression and click Finish ->

Form Finish Screen

How to enable the new form

  • The Handlebars expression needs to be placed into a Code only Content Type.
  1. Go to a Section for your form or create a new one.
  2. If it’s not already, enable the Code only Content Type.
  3. Select +Create content from the Actions menu.
    1. Name: name your form.
    2. Code: drop your Handlebars expression into the code field.
  4. Save changes.

How to test your form

  1. Preview your form.
  2. Fill out at least, the required fields.
  3. Submit the form.
  4. Verify that you are redirected to the correct landing page.
  5. Check submission
    1. Open the task scheduler. Administration -> Task scheduler.  Make sure a submissions task has been created, and wait for the amount of time selected in the Execution interval column so that the task is triggered.
  6. Publish your site or section. Check that the form displays.

How to gather new submissions

  • Once submissions return to Terminalfour, you can gather your submissions and distribute the information accordingly. 
  1. Check to see that submissions have been returned to whichever section you determined would hold form submissions (check the Pending number).
  2. Clicking onto the form-as-content link will bring you to the actual Content type.
  3. A better way to manage form submissions is to go to Engage -> Forms & Transactions.
  4. Find your form, and from the blue Actions bar, select View submissions.
  5. Information includes the total number of submissions for the form, and a graph that shows the date range of the submissions. For each submission data includes date of submission, IP address of the person submitting the form and each form field value.

How to gather new submissions

Selected form (Request Information)

How to distribute and organize form submissions

  1. Toward the bottom of the submission report page, select Download as CSV.
  2. To delete a submission, select Delete from the blue Actions bar. It will be marked as Inactive content.
  3. To entirely remove a submission from the system, it must be purged.
  4. You may select multiple submissions, and then use the Bulk actions bar for multiple deletions.

Submissions

reCAPTCHA

  • reCaptcha is a form to help prevent spam submissions.
  • You can use Google reCAPTCHA V2 in your TERMINALFOUR forms.
  • Choose to use reCAPTCHA on all your forms or on a per form basis.

reCAPTCHA

reCAPTCHA settings

How to enable reCAPTCHA

  1. Go to Administration -> Settings -> Form builder -> reCAPTCHA settings
  2. Enable reCAPTCHA using the toggle button. 
  3. Site key: This is provided by Google when registering a reCAPTCHA site.
  4. Secret key: This is provided by Google when registering a reCAPTCHA site.
  5. Enforcement: Check the box if you want to use reCAPTCHA on all your forms.
  6. Click Save changes to save the configuration.

if 'Show reCAPTCHA on all forms' is not selected, it will only be shown on forms where it has been explicitly added.

Feedback survey

Congratulations on completing the Advanced Web Developer Training module.

Please provide feedback in our on-line survey.