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

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.