Answered
How do I limit a textfield input to only allow the values in increments?
For Example, I have a text field that requires increments of $50.00, so a user should not be able to put in $75.00.
How do I limit a textfield input to only allow the values in increments?
For Example, I have a text field that requires increments of $50.00, so a user should not be able to put in $75.00.
There are a lot of ways you could approach doing that. You could use a pulldown list with increments of 50 as choices if you don't have an enormous number of choices. Or you could write a validation script that would blank the field out if it wasn't a multiple of 50 and then alert the user with a message box that it must be in increments of 50. Or you could use a custom keystroke script that would round the value to the nearest increment of 50, you deicde to round up ro down in the script.
So there are a variety of options- you will have to provide more details to get a more specific apporach to a solution.
Hope this helps,
Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
Dimitri Munkirs
WindJack Solutions
pdfscripting.com