|
Ultralight C API 2.0.0
|
#include <Ultralight/CAPI/CAPI_DOMElement.h>
The ways a form control can fail its constraints (ValidityState).
Public Attributes | |
| bool | value_missing |
| A required control has no value. | |
| bool | type_mismatch |
| The value doesn't fit the input type (eg, a malformed email). | |
| bool | pattern_mismatch |
| The value doesn't match the pattern attribute. | |
| bool | too_long |
| The value is longer than maxlength (after a user edit). | |
| bool | too_short |
| The value is shorter than minlength (after a user edit). | |
| bool | range_underflow |
| The value is less than min. | |
| bool | range_overflow |
| The value is greater than max. | |
| bool | step_mismatch |
| The value doesn't fit the step attribute. | |
| bool | bad_input |
| The user entered something the control can't convert to a value. | |
| bool | custom_error |
| A custom error is set (see ulDOMElementSetCustomValidity()). | |
| bool | valid |
| None of the above are true. | |
| bool bad_input |
The user entered something the control can't convert to a value.
| bool custom_error |
A custom error is set (see ulDOMElementSetCustomValidity()).
| bool pattern_mismatch |
The value doesn't match the pattern attribute.
| bool range_overflow |
The value is greater than max.
| bool range_underflow |
The value is less than min.
| bool step_mismatch |
The value doesn't fit the step attribute.
| bool too_long |
The value is longer than maxlength (after a user edit).
| bool too_short |
The value is shorter than minlength (after a user edit).
| bool type_mismatch |
The value doesn't fit the input type (eg, a malformed email).
| bool valid |
None of the above are true.
| bool value_missing |
A required control has no value.