Buttons let users act on a form. Every form that collects data needs at least one Submit button; without it, answers can't be saved. Buttons can also clear the form or run your own script.
Actions
Choose what the button does with Action on the Display tab.
|
Action |
What it does |
|---|---|
|
Submit (default) |
Validates and saves the form. Any Button Custom Logic runs first. |
|
Custom |
Runs the script in Button Custom Logic. See Using Buttons for Custom Actions. |
|
Reset |
Clears all answers and restores default values |
A form can have several buttons. For example, show a Submit Expenses button to the person filling in the form and an Approve Expenses button at the approval step, using conditions.
Settings
|
Setting (Display tab) |
What it does |
|---|---|
|
Label |
The text on the button. Make it specific, such as Submit Request. |
|
Button Custom Logic |
A script that runs when the button is selected, for Submit and Custom buttons |
|
Theme |
The button color: Default, Primary, Info, Success, Danger, Warning or Link |
|
Size |
Extra Small to Large. Medium suits most forms. |
|
Left Icon, Right Icon |
An icon before or after the label, using a Font Awesome 4 class name such as |
|
Background Color |
A custom color. See Component Colors. |
|
Block |
Makes the button as wide as its container. Useful on phones. |
|
Disable on Form Invalid |
The button can't be selected until all required fields are filled in and the form passes validation |