This form is an example showing the usage of groups. The elements that take the credit card data are only required when the Credit Card Radiobutton is switched on. For this purpose, the elements are grouped. The group's container element contains a conditional requirement:
<div forx:group="creditdata" forx:grouprequires="all" forx:required="if
pay_card=='CHECKED'" style="display:none;color:#ffcccc;font-weight:bold" forx:highlight="false">
CHECKED is used to check for a selected radiobutton
pay_card is the
forx:id of the appropriate
See the simple example for an explanation of the other elements.