Using the Script Editor - Showing and Hiding Form Fields
6. Congratulations!
You have now built a form that shows and hides fields. In this tutorial you learnt:
- How to use the script editor to create dynamic forms
- How to use a form's page "Init handler" to manipulate fields as soon the page loads
- How to use the handler of one field to make changes to another field
- How to use if/else statements to build logic into your forms
- How variables hold values that can be used in your form
Further reading
The following pages provide more information about forms and the forms designer.
- Form Fields - Information and examples for all of the fields you can use in your forms
- JavaScript Editors - An overview of the script editors
- Blockly Blocks - A description of the custom blocks you can use to build scripts
- Form Helper Functions - For users comfortable writing JavaScript there are over 150 different functions you can use when building forms
Last modified on 15 February 2022