Validate plugin: how to use "range" inline
Because of the way I code, I prefer to use the inline methods with Validate rather than a Rules list at the top but I cannot seem to get the Range option to work. I've tried
range="[10,20]", then without the quotes and with a colon instead of a comma but it also shows as error message of "
Please enter a value between NaN and 1". I know I can always use
min="10" and
max="20" but it's a pity I can't use the range option.