*
Please fill out all fields marked as required !
Please review your options before sending the form.

Acme Corp.

Please take a moment and fill out our survey!

Full name
e-Mail
Date of birth
Gender Male Female
Interests
Please check one of this fields!
Computers Internet Games  
Music Movies Travel  
Weather Health Other

This form contains a very interesting feature of ForX. The Interests checkboxes are grouped in a group called interests. This group must have one member checked to be valid by setting forx:grouprequires to any. The last textfield gets a special treatment, as it is only required when the Other checkbox is checked. This behavior is expressed in a conditional requirement expression:

forx:required="if other=='CHECKED'"

other is the forx:id of the Other checkbox. Please note, that the textfield does not belong to the group.

This form also contains immediate checked elements, these are validated right after the user entered some data.