![MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual Download Page 96](http://html1.mh-extra.com/html/macromedia/coldfusion-4-5-developing-web/coldfusion-4-5-developing-web_develop-manual_3286369096.webp)
70
Developing Web Applications with ColdFusion
<INPUT TYPE="reset"
NAME="ResetForm"
VALUE="Clear Form">
<INPUT TYPE="submit"
NAME="SubmitForm"
VALUE="Insert Data">
</FORM>
</HTML>
3.
Save the file.
The VALUE attribute is optional. A default message displays if no value is supplied.
When the form is submitted, ColdFusion scans the form fields to find any validation
rules you specified. The rules are then used to analyze the user’s input. If any of the
input rules are violated, ColdFusion sends an error message to the user that explains
the problem. The user then must go back to the form, correct the problem and
resubmit the form. ColdFusion will not accept form submission until the entire form is
entered correctly.
Because numeric values often contain commas and dollar signs, these characters are
automatically stripped out of fields with
_integer
,
_float
, or
_range
rules before they
are validated and saved to the database.
Note
If you use CFINSERT or CFUPDATE and you specified columns in your
database that are numeric, date, or time, form fields that insert data into
these fields are automatically validated. You can use the hidden field
validation functions for these fields to display a custom error message.
Summary of Contents for COLDFUSION 4.5-DEVELOPING WEB
Page 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Page 14: ...xiv Developing Web Applications with ColdFusion...
Page 26: ...xxvi Developing Web Applications with ColdFusion...
Page 34: ...8 Developing Web Applications with ColdFusion...
Page 70: ...44 Developing Web Applications with ColdFusion...
Page 84: ...58 Developing Web Applications with ColdFusion...
Page 114: ...88 Developing Web Applications with ColdFusion...
Page 148: ...122 Developing Web Applications with ColdFusion...
Page 174: ...148 Developing Web Applications with ColdFusion...
Page 208: ...182 Developing Web Applications with ColdFusion...
Page 244: ...218 Developing Web Applications with ColdFusion...
Page 274: ...248 Developing Web Applications with ColdFusion...
Page 288: ...262 Developing Web Applications with ColdFusion...
Page 300: ...274 Developing Web Applications with ColdFusion...
Page 350: ...324 Developing Web Applications with ColdFusion...
Page 362: ...336 Developing Web Applications with ColdFusion...