Sets the maximum length of the control.
Can get required status.
Sets required status.
Checks if the value matches the regex and is in range of values.
Gets the fields maximum value.
Gets the fields minimum value.
Returns the fields value.
Checks if the value is in range of values the user gives.
The value to check
Checks if the value is valid
The value to check
Boolean if value is valid
Sets the fields maximum value.
An object of possible options to pass
Whether to run and report the validation (default: true
)
Sets the fields minimum value.
An object of possible options to pass
Whether to run and report the validation (default: true
)
Creates a local formatted string from a number object or string and writes it as value into a HTML control.
The local formatted string
Converts a number or string to a local formatted string.
The given input string/number to convert to the local format
A string with local formatted number or NaN
.
Gets the maximum length of the control.