Posted on 2003-10-27
How can i check an input of a textbox and make sure its not greater than a variable that is set in my database.
My need is to ask a user how long it took them to read through a lesson and take some questions on the content they just read. In the database there is a variable that will act as the Max number of credits they are allowed to recieve. So for instance for one lesson, the max credits they can recieve is '2'. Then in the form where it will ask how long it took them. So for any answer over 2, I would like an alert box to pop up and say that it is over the maximum allowed credits when they hit the submit button. Is this possilbe.