WTForm extensions for form templates and useful functions.
Custom Form for generating DNS Gateway Workflows.
SelectField with no pre-validation of field value against possible choices. Useful if choices are dynamically populated.
Pre-validate method being overwritten to no longer perform validation.
Use when you have a field such as a SelectField that has a choices attribute with a list of tuples. If you have an element in the tuple that needs to be validated but it is not the first element of the tuple.
|index_of_value_to_validate||The index of the element in the tuple that should be validated. Only the element with the specified index in the tuple will be validated.|
|validator||The validator function to use when validating the value at the given index of the tuple.|