quality control fields
Posted: Thu Jul 30, 2009 2:27 pm
Hi, i'm working on an application that requires the user to enter digits to answer questions the application asks them.
Basically, the user will click on a button field and a message will appear asking how much something cost. I want it so that if they was to enter a letter by accident then it would not allow it and request the information again.
At the moment my script is
What code could I add to the script that would not allow anything but digits?
Hope someone can help!
Cheers
Daniel
Basically, the user will click on a button field and a message will appear asking how much something cost. I want it so that if they was to enter a letter by accident then it would not allow it and request the information again.
At the moment my script is
Code: Select all
ask"How much do you spend on clothes"
then put it into field "clothes"
Hope someone can help!
Cheers
Daniel