Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started
by Ben Forta, Raymond Camden, Charlie Arehart
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: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access