number validation
I'm trying to use number validation in a form text box but it won't pass even with a valid number. Do I need to format the input in some way running the validation?
this is my form:
<form action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>" method="POST" name="eCart1_11_ATC_0" onsubmit="WAValidateNM(document.eCart1_11_ATC_0.eCart1_11_ID_Add,'- Minimum of 10 guests',10,999,0,'','',',.',false,1,true);WAAlertErrors('Please correct...','',true,false);return document.MM_returnValue">
<input type="hidden" name="eCart1_11_ID_Add" value="0" >
<input type="text" name="eCart1_11_Quantity_Add" value="10" size="4" >
<input type="image" value="Add to Cart" src="../WA_eCart/Images/Yosemite/Btn2_EN_addtocart.gif" alt="Add" name="eCart1_11_ATC">
</form>