Changeset 10171
- Timestamp:
- 07/07/08 18:50:47 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/branches/1.1/forms_book/en/02-Form-Validation.txt
r10170 r10171 258 258  259 259 260 The default error message related to this error code (`min_length`) is different from the messages we already went over, since it implements two dynamic values: the user input data (`foo`) and the minimum number of characters allowed for this field (`4`). Listing 2-5 customizes this message using theses dynamic values and Figure 2- 8shows the result.260 The default error message related to this error code (`min_length`) is different from the messages we already went over, since it implements two dynamic values: the user input data (`foo`) and the minimum number of characters allowed for this field (`4`). Listing 2-5 customizes this message using theses dynamic values and Figure 2-7 shows the result. 261 261 262 262 Listing 2-5 - Customizing the Error Messages with Dynamic Values