web/formfields.py
branchstable
changeset 5220 42f854b6083d
parent 5085 981e85b14b47
child 5238 31c12863fd9d
child 5367 4176a50c81c9
equal deleted inserted replaced
5219:35d44017c72b 5220:42f854b6083d
    68        widget associated to the field. Each field class has a default widget
    68        widget associated to the field. Each field class has a default widget
    69        class which may be overriden per instance.
    69        class which may be overriden per instance.
    70     :required:
    70     :required:
    71        bool flag telling if the field is required or not.
    71        bool flag telling if the field is required or not.
    72     :value:
    72     :value:
    73        field's value, used when no value specified by other means. XXX explain
    73        field value (may be an actual value, a default value or nothing)
    74     :choices:
    74     :choices:
    75        static vocabulary for this field. May be a list of values or a list of
    75        static vocabulary for this field. May be a list of values or a list of
    76        (label, value) tuples if specified.
    76        (label, value) tuples if specified.
    77     :sort:
    77     :sort:
    78        bool flag telling if the vocabulary (either static vocabulary specified
    78        bool flag telling if the vocabulary (either static vocabulary specified