Checks that the input value satisfies specified conditions
1 2 3 4 5 6 7 8 9 10 11 |
x |
The value to be checked. |
... |
Conditions to be checked; should be functions that return TRUE/FALSE. |
allow_null |
Whether to allow null input. |
id |
Name given to the input to aid the user in identifying the bad value. |
return_id |
Whether to return the ID as an attribute. This should only be set to |
l |
Lower bound for the inequality condition. |
u |
Upper bound for the inequality condition. |
incl_lower |
Whether to include the left endpoint. |
incl_upper |
Whether to include the right endpoint. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.