Flapjax Demo Code
- The first sub-form is valid when its first field has a value of length 3, and the second of length 4.
- The second sub-form is valid when exactly three of its checkboxes are checked.
- The entire form is valid when a sub-form is selected and that sub-form itself is valid.
- When the form is valid, its border should be green, or else it is red.
- When a sub-form is valid, its border should be green, or else it is red.
Create a form validator: