These are the most basic form widgets.
This is the base class of all fields that can be used as children of a
Form or FieldSet.
class tw.forms.fields.FormField(*args, **kw)
Base class for all Widgets that can be attached to a Form or FieldSet.
Form and FieldSets are in turn FormFields so they can be arbitrarily nested.
These widgets can provide a validator that should validate and coerce the
input they generate when submitted.
class tw.forms.fields.InputField(*args, **kw)
- Base class for <input> fields
class tw.forms.fields.TextField(*args, **kw)
- A text field
class tw.forms.fields.TextArea(*args, **kw)
- Displays a textarea.
class tw.forms.fields.PasswordField(*args, **kw)
- A password field.
class tw.forms.fields.FileField(*args, **kw)
- A file upload field
class tw.forms.fields.CheckBox(*args, **kw)