web/formfields.py
changeset 5238 31c12863fd9d
parent 5155 1dea6e0fdfc1
parent 5220 42f854b6083d
child 5270 6297d5265572
equal deleted inserted replaced
5237:10dd0dd78778 5238:31c12863fd9d
    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