G Guest Mar 27, 2006 #1 I am trying to validate a field. The users can only enter the quantity in multiple of 10. How do I do that?
I am trying to validate a field. The users can only enter the quantity in multiple of 10. How do I do that?
T Trevor L. Mar 28, 2006 #2 KKXC said: I am trying to validate a field. The users can only enter the quantity in multiple of 10. How do I do that? Click to expand... My guess if (var % 10 == 0) alert('var is a multiple of 10') else alert('var is not a multiple of 10') If it works, change the alerts to code to ask the user to re-enter
KKXC said: I am trying to validate a field. The users can only enter the quantity in multiple of 10. How do I do that? Click to expand... My guess if (var % 10 == 0) alert('var is a multiple of 10') else alert('var is not a multiple of 10') If it works, change the alerts to code to ask the user to re-enter