O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Processing Form Submissions

To demonstrate how to process returned forms, you must create a simple template that echoes the movie title you entered. The template is shown in Listing 12.2.

Listing 12.2. form1_action.cfm—Processing Form Fields
<!---
Name:        form1_action.cfm
Author:      Ben Forta (ben@forta.com)
Description: Introduction to forms
Created:     07/01/07
--->

<html>
<head>
 <title>Learning ColdFusion Forms 1</title>
</head>

<body>

<!--- Display search text --->
<cfoutput>
<strong>Movie title:</strong> #FORM.MovieTitle#
</cfoutput>

</body>
</html>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required