I've got an form that I need help with. The user signs in to a webpage and then clicks on a link from a page that opens up a form in a pop up box. I need it to do some simple checks when they click on submit on the form.
The first thing is I need to put in some validation that checks first if a text box has been filled in, then checks the number that has been keyed into the textbox with another figure held on the databse. It should also make sure that only numbers have been typed in, not letters.
Also when the user clicks on submit, the window that the form is in closes. I want to somehow make the page that is behind it automatically refresh when the pop up is closed. Is there any way to do this?
Can anyone point me to some sites that have any tutorials that will help me out. Better still if someone wants to write me out some code that I can copy and paste then that would be just super!
Rick
The first thing is I need to put in some validation that checks first if a text box has been filled in, then checks the number that has been keyed into the textbox with another figure held on the databse. It should also make sure that only numbers have been typed in, not letters.
Also when the user clicks on submit, the window that the form is in closes. I want to somehow make the page that is behind it automatically refresh when the pop up is closed. Is there any way to do this?
Can anyone point me to some sites that have any tutorials that will help me out. Better still if someone wants to write me out some code that I can copy and paste then that would be just super!
Rick