Changeset 11176
- Timestamp:
- 08/26/08 22:58:14 (3 months ago)
- Files:
-
- doc/branches/1.0/book/10-Forms.txt (modified) (1 diff)
- doc/branches/1.1/book/10-Forms.txt (modified) (1 diff)
- doc/branches/1.2/book/10-Forms.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/branches/1.0/book/10-Forms.txt
r9529 r11176 1067 1067 ### Executing a Validator on an Empty Field 1068 1068 1069 You may need to execute a validator on a field that is not required, on an empty value. For instance, this happens with a form where the user can (but may not) want to change his password, and in this case, a confirmation password must be entered. See the example in Listing 10-35.1069 You may need to execute a validator on a field that is not required, on an empty value. For instance, this happens with a form where the user can change their password (but may not want to), and in this case, a confirmation password must be entered. See the example in Listing 10-35. 1070 1070 1071 1071 Listing 10-35 - Sample Validation File for a Form with Two Password Fields doc/branches/1.1/book/10-Forms.txt
r9881 r11176 1095 1095 ### Executing a Validator on an Empty Field 1096 1096 1097 You may need to execute a validator on a field that is not required, on an empty value. For instance, this happens with a form where the user can (but may not) want to change his password, and in this case, a confirmation password must be entered. See the example in Listing 10-36.1097 You may need to execute a validator on a field that is not required, on an empty value. For instance, this happens with a form where the user can change their password (but may not want to), and in this case, a confirmation password must be entered. See the example in Listing 10-36. 1098 1098 1099 1099 Listing 10-36 - Sample Validation File for a Form with Two Password Fields doc/branches/1.2/book/10-Forms.txt
r9881 r11176 1095 1095 ### Executing a Validator on an Empty Field 1096 1096 1097 You may need to execute a validator on a field that is not required, on an empty value. For instance, this happens with a form where the user can (but may not) want to change his password, and in this case, a confirmation password must be entered. See the example in Listing 10-36.1097 You may need to execute a validator on a field that is not required, on an empty value. For instance, this happens with a form where the user can change their password (but may not want to), and in this case, a confirmation password must be entered. See the example in Listing 10-36. 1098 1098 1099 1099 Listing 10-36 - Sample Validation File for a Form with Two Password Fields