• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Using <CFFORM>

To use ColdFusion for client-side form validation, we must use ColdFusion forms as opposed to the plain HTML variety of forms we have using to this point. ColdFusion forms closely mirror HTML forms in style and structure.

We create a ColdFusion form by using the <CFFORM> tag to begin our form, and then we add various CFFORM elements to the form such as <CFINPUT> boxes and <CFSELECT> menus. These form elements are much the same as their HTML counterparts, except they usually have a few extra attributes. As a matter of fact, you can mix normal HTML form elements and CFFORM elements in the same ColdFusion form.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint