Workshop

Just to see if you were dozing through today's lesson, here are a few quiz questions and exercises. Answers to quiz questions can be found in Appendix A at the back of the text.

Quiz

1:What is the primary function of a form page?
2:In the preceding examples, how does data input into a form page get to the action program or page?
3:What's the primary difference between the <CFINSERT> and <CFUPDATE> tags?
4:Do input forms have to be coded as ColdFusion templates (.cfm files)?
5:What is a "hidden" form field used for?
6:Why does the <CFUPDATE> tag have to be supplied with a primary key, or ID field?

Exercises

1:Modify the confirmation page insert.cfm so that it also shows users the data they've just submitted to the database .
2:Design a Web ...

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.