SWE 432 JavaScript example: Form Validation 3

Text version Next example Back to index

A simple example for validating radio buttons and checkboxes.

Options: (only when you have cruise control)

Door: (here we check if anyone of the options is selected)