[−][src]Module es_htmlform::types
Enums representing HTML elements, attributes and values.
These should be complete according to the HTML specifications, all
elements and all element-specific attributes should be represented,
in such a way that your form structure and values will always be
valid (assuming that you use the HtmlForm
builder methods to set
up the form, else form structure validity is not checked). Note that
the values of the Constraint
enum (mostly) represent HTML attributes
that cause client-side validation, when used server-side validation
is also performed. One exception is Constraint::Func()
, which is
used for per-element server-side validation and is not serialized
as client-side attribute. Attributes in the Attr
enum do not cause
value validation.
Enums
Attr | An HTML attribute without validation behaviour. The list should be
complete and up-to-date with the latest HTML specifications. HTML
validity is checked when adding the attributes to the fields using
|
Autocomplete | Value for |
ButtonType | Value for |
Constraint | Constraints on |
Element | Form element types, each of which represent a different HTML element. |
InputType | Different input types, use with |
Method | Form methods, correspond to |
SelectType | Value for |
Spellcheck | Value for |
Wrap | Value for |