Exposing Additional Form Elements

Additional relevant form elements are exposed based upon user input. Here, this is achieved by having the entire form in the markup, with a certain section hidden via CSS (display: none;). If "Yes" is chosen, the display property is changed to "block" through JS.

ice cream options ice cream options

Example 10.57
Example 10.57 Source:
In script element (within head element):
Example 10.57 Demonstrated