Using the Extended Controls

An example provides the best introduction to ColdFusion’s extended form controls. In Chapter 14, “Using Forms to Add or Change Data,” you created a series of forms to allow users to insert and update movie data in the Films table. One of those fields was a date field that required users to enter a valid movie release date.

Asking users to enter dates is always asking for trouble. Some users will enter digits for months and others will spell out or abbreviate months, some users will enter two-digit years and others will enter four-digit years, some users will enter hyphens as separators and others will use slashes—you get the idea. Rather than asking the user to enter a date manually, you really need a date control: ...

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.