Validating forms in coldfusion

It uses hidden fields to ensure that you enter data and that the data is in the right format.This example illustrates another concept that might seem surprising.One limitation of standard HTML forms is that you cannot validate that users input the type or range of data you expect.Cold Fusion enables you to do several types of data validation by adding hidden fields to forms.

validating forms in coldfusion-56validating forms in coldfusion-76

Presentation Links Daniel Garcia Daniel Garcia is the founder and manager of the Chicagoland Cold Fusion User Group.

They are passed through Cold Fusion to the browser when creating a form.

The supported HTML attributes are: CLASS, ID, MAXLENGTH, MESSAGE, ONBLUR, ONCHANGE, ONCLICK, ONDBLCLICK, ONFOCUS, SIZE, STYLE, and TABINDEX.

If any of the input rules are violated, Cold Fusion 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.

Leave a Reply