Go to the latest version of this document.

# ``twisted`.`python`.`formmethod``

module documentation
(source)

Form-based method objects.

This module contains support for descriptive method signatures that can be used to format methods.

Class | `Argument` | Base class for form arguments.
Class | `Boolean` | Undocumented
Class | `CheckGroup` | Undocumented
Class | `Choice` | The result of a choice between enumerated types. The choices should be a list of tuples of tag, value, and description. The tag will be the value returned if the user hits "Submit", and the description is the bale for the enumerated type...
Class | `Date` | A date -- (year, month, day) tuple.
Class | `File` | Undocumented
Class | `Flags` | The result of a checkbox group or multi-menu. The flags should be a list of tuples of tag, value, and description. The tag will be the value returned if the user hits "Submit", and the description is the bale for the enumerated type...
Class | `Float` | Undocumented
Class | `FormMethod` | A callable object with a signature.
Class | `Hidden` | A string which is not displayed.
Class | `Integer` | A single integer.
Class | `IntegerRange` | Undocumented
Class | `MethodSignature` | A signature of a callable.
Class | `Password` | A string which should be obscured when input.
Class | `PresentationHint` | A hint to a particular system.
Class | `RadioGroup` | Undocumented
Class | `String` | A single string.
Class | `Submit` | Submit button or a reasonable facsimile thereof.
Class | `Text` | A long string.
Class | `VerifiedPassword` | A string that should be obscured when input and needs verification.
Exception | `FormException` | An error occurred calling the form method.
Exception | `InputError` | An error occurred with some input.
Function | `positiveInt` | Undocumented

def positiveInt(x): (source)

Undocumented