Forum Moderators: open
if (MyForm.SoAndSo.value.length<5)
{ message += "- Item SoAndSo... not enough characters";
submitOK="False"; }
Can anyone tell me the javascript code I should use to check for numbers only in a variable (ie no alphabetics or special characters).