Changes between Version 1 and Version 2 of FormField
- Timestamp:
- Apr 13, 2006, 12:55:15 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FormField
v1 v2 86 86 87 87 * '''EmailField''' 88 * ''A convenience !FormField for validating e-mail addresses'' 89 * field_name, length=50, maxlength=75, is_required=False, validator_list=[] 90 * <input type="text"> 88 91 * '''URLField''' 92 * ''A convenience !FormField for validating URLs'' 93 * self, field_name, length=50, is_required=False, validator_list=[] 94 * <input type="text"> 89 95 * '''IPAddressField''' 96 * field_name, length=15, maxlength=15, is_required=False, validator_list=[] 97 * <input type="text"> 90 98 91 99 == Miscellaneous == 92 100 * '''FilePathField''' 101 * ''A !SelectField whose choices are the files in a given directory.'' 102 * field_name, path, match=None, recursive=False, is_required=False, validator_list=[] 103 * <select><option /> ... </select> 93 104 * '''PhoneNumberField''' 105 * ''A convenience !FormField for validating phone numbers (e.g. '630-555-1234')'' 106 * field_name, is_required=False, validator_list=[] 107 * <input type="text"> 94 108 * '''USStateField''' 109 * ''A convenience !FormField for validating U.S. states (e.g. 'IL')'' 110 * field_name, is_required=False, validator_list=[] 111 * <input type="text"> 95 112 * '''CommaSeparatedIntegerField''' 113 * ''A convenience !FormField for validating comma-separated integer fields'' 114 * field_name, maxlength=None, is_required=False, validator_list=[] 115 * <input type="text"> 96 116 * '''RawIdAdminField''' 117 * field_name, maxlength=None, is_required=False, validator_list=[] 118 * <input type="text"> 97 119 * '''XMLLargeTextField''' 98 99 120 * field_name, schema_path, rows=10, cols=40, is_required=False, validator_list=[], maxlength=None 121 * <textarea>