![]() |
||
|
In this lesson, you will create a page for the trip coordinator to add new trip offerings and update existing trips. In addition, you will add logic to validate that data entered so that it complies with Compass Travel business rules.
This lesson contains the following exercises:
Exercise 1: Using an HTML form to collect data
Exercise 2: Creating a simple action page
Exercise 3: About data validation
Exercise 4: Providing server-side validation
Exercise 5: Validating data on the client using ColdFusion form tags
Exercise 6: Dynamically populating the list of event types
Exercise 7: Validating the existence of the trip photo file
The following table describes the ColdFusion tags and functions that you use in this lesson to enhance the ColdFusion application:
Element |
Type |
Description |
---|---|---|
cfform |
Tag |
Builds a form with CFML custom control tags that provide more functionality than standard HTML form input elements. |
cfinput |
Tag |
Use inside the |
cfselect |
Tag |
Use inside the |
FileExists |
Function |
Returns True if the file specified in the argument exists, False if it doesnt exist. |
|
||
![]() |