Hi All,
I have an online screen in which a form filed is filled with Numeric Characters .. if the entered four digits are not numeric, it will throw an alert message saying "Only numerics allowed".
Now the new requirement is it should accept alphanumeric characeters instead of Numeric Characters.
Below is the code which is used to check the value.
if (vic.value.length != 4 || !isInteger(vic.value))
{
alert ("VIC is required (4 numeric digits).");
return false;
}
How do i change this condition to check for Alpha Numeric Characters instead of Numeric.
Thanks in Advance