Using the Script Editor - Showing and Hiding Form Fields
2. Setup
This example builds on the form created in the Creating your First Form tutorial. If you have it, open your form from that tutorial and move on to step 3.
Download a starting form
If you skipped the first tutorial you can download and import the starting form instead: (ZIP) [2KB]
Importing the example
If you don't already have a form, import the form in the zip file above. Download the file, then unzip it. It contains a single form called form_CODELABSHOWHIDEFIELD.
Right click on a form group, choose "Import forms into group", then "Save as Work in Progress".
Next, choose the form you'd like to import, then "Continue this import" from the left-hand action menu. You can work on your form by double-clicking on it.
There's a more detailed look at importing forms in the Importing Forms documentation.