September 2007
Intermediate to advanced
600 pages
20h 21m
English
By now the <cfoutput> tag should be familiar to you; you use it to mark a block of code that ColdFusion should parse and process. The line <strong>Movie title:</strong> #FORM.MovieTitle# is processed by ColdFusion. #FORM.MovieTitle# is replaced with the value you entered in the MovieTitle form field.
Note
Use of the prefix FORM is optional. Using it prevents ambiguity and improves performance, but it also makes the code less reusable.
| → | See Chapter 8, “The Basics of CFML,” for a detailed discussion of the ColdFusion <cfoutput> tag. |
Create a template called form1_action.cfm that contains the code in Listing 12.2 and save it. Then resubmit your movie’s name by clicking the form’s submit button again. This time you should ...
Read now
Unlock full access