Summary


HTML forms are used to collect data from application users. In this chapter, you reviewed the concepts necessary for creating, validating, and using FORM variables. Once FORM elements are named, and the user fills in the value and submits the form, you can have the ColdFusion application server perform either server-side or client-side validation on the entries. You also have the option of creating your own custom validation before performing any other processing on the action page.

Sample Questions

1:

What is the recommended METHOD to use when submitting forms to ColdFusion pages?

  1. get

  2. action

  3. post

  4. head

2:

Which of the following is an example of a form control that does not pass a value to the action page by default?

  1. Text box

  2. Text area

  3. Checkbox

  4. Drop-down select control

3:

Consider the following checkboxes:

 <input type="checkbox" name="FavCountry" value="US">United States <input type="checkbox" name="FavCountry" value="CAN">Canada <input type="checkbox" name="FavCountry" value="ENG">England <input type="checkbox" name="FavCountry" VAlUE="FRA">France 

If you check France and Canada, what would your FORM variable look like?

  1. FavCountry=CAN,FRA

  2. FavCountry=CAN

  3. FavCountry=FRA

  4. FavCountry=CAN&FRA

4:

Which form of validation is the most secure?

  1. Client-side

  2. Auto-generated server-side

  3. Manual server-side



Macromedia ColdFusion MX 7 Certified Developer Study Guide
Macromedia ColdFusion MX 7 Certified Developer Study Guide
ISBN: 0321330110
EAN: 2147483647
Year: 2004
Pages: 389
Authors: Ben Forta

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net