Using the Script Editor - Showing and Hiding Form Fields

4. Adding checkboxes

Next add checkboxes to your form. When these are checked they will reveal the hidden input fields.

Add the fields

From the Tool Box, drag a checkbox field onto your form:

Checkbox Field Type

Place the first one above the email address field:

Email Fields

Update the checkbox field so it has the name EMAIL and label Email. Note how the default "Ticked Value" of the field is "Yes" (we'll be using that in the next step):

Email Name and Label

Add two more checkbox fields for phone and text message. Remember to update the names and labels:

Checkbox and Input Fields

Save and publish your form to see the new checkbox fields on your site. At the moment they won't do anything when they are checked.

Last modified on 15 February 2022

Share this page

Facebook icon Twitter icon email icon

Print

print icon