Using Forms

In Chapter 10, “Creating Data-Driven Pages,” you learned how to create ColdFusion templates that dynamically display data retrieved from databases. The Films table has just 23 rows, so the data fit easily in a Web browser window and required only minimal scrolling.

What do you do if you have hundreds or thousands of rows? Displaying all that data in one long list is impractical. Scrolling through lists of movies to find the one you want just doesn’t work well. The solution is to enable users to search for what they want by specifying what they are looking for. You can allow them to enter a title, an actor’s name, or part of the tag line. You can then display only the movies that meet the search criteria.

To accomplish this, you need ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started 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.