Basic HTML version of Foils prepared May 3 1998

Foil 48 Data Input Validation

From Java Blend and Cold Fusion High Level Database Interfaces CPS616 Web Technologies -- Spring 98. by Chao Wei Ou


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">



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998