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

Understanding <CFFORM>

In Day 7, "Changing the Contents of a Database with ColdFusion," you learned how ColdFusion works with standard HTML forms to insert and update data stored in a database. The examples in that chapter showed how to create a Web input form using the HTML <FORM> tag, and how to designate a ColdFusion template as the action page of that form. When a user filled out the form and pressed the "submit" button, the collected data was sent to the designated ColdFusion template in the form of a URL.

ColdFusion's <CFFORM> serves as a more feature-rich replacement for HTML's <FORM> tag. <CFORM> works with similar elements like <FORM>, it also requires a defined ACTION page, and also submits collected data via a URL. But it goes beyond the capability of standard HTML forms by giving you new ways to display data and validate the user's entries.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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