Cold Fusion provides a server-side mechanism for requiring users to enter data in fields, using one of a set of special "suffixes". |
<INPUT type="hidden" NAME="FirstName_required"> |
Data validation is also implemented by adding hidden fields to forms |
The hidden field suffixes includes _integer, _float, _range, _date, and _eurodate. |
<INPUT TYPE="hidden" NAME="Rooms_integer" VALUE="You must enter a number for the Rooms field."> |
<INPUT TYPE="hidden" NAME="Guests_range" VALUE="MIN=1 MAX=12"> |