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

Building Truly Dynamic Statements

No sooner do you roll out your movie search screen at Orange Whip Studios, but you immediately find yourself inundated with requests. “Searching by title is great, but what about searching by tag line or rating?” your users ask. Now that you have introduced the ability to search for data, your users want to be able to search on several fields.

Adding fields to your search screen is simple enough. Add two fields: one for tag line and one for rating. The code for the updated search screen is shown in Listing 12.15.

Listing 12.15. search2.cfm—Movie Search Screen
<!--- Name: search2.cfm Author: Ben Forta (ben@forta.com) Description: Creating search screens Created: 07/01/07 ---> <html> <head> <title>Orange Whip Studios ...

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