Changes between Version 1 and Version 2 of FormField


Ignore:
Timestamp:
Apr 13, 2006, 12:55:15 AM (19 years ago)
Author:
anonymous
Comment:

Finished the entry of all field types, their arguments, and the type of html produced

Legend:

Unmodified
Added
Removed
Modified
  • FormField

    v1 v2  
    8686
    8787 * '''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">
    8891 * '''URLField'''
     92   * ''A convenience !FormField for validating URLs''
     93   * self, field_name, length=50, is_required=False, validator_list=[]
     94   * <input type="text">
    8995 * '''IPAddressField'''
     96   * field_name, length=15, maxlength=15, is_required=False, validator_list=[]
     97   * <input type="text">
    9098
    9199== Miscellaneous ==
    92100 * '''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>
    93104 * '''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">
    94108 * '''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">
    95112 * '''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">
    96116 * '''RawIdAdminField'''
     117   * field_name, maxlength=None, is_required=False, validator_list=[]
     118   * <input type="text">
    97119 * '''XMLLargeTextField'''
    98 
    99 
     120   * field_name, schema_path, rows=10, cols=40, is_required=False, validator_list=[], maxlength=None
     121   * <textarea>
Back to Top