Lord-Nikon
Expert Member
- Joined
- Jul 22, 2008
- Messages
- 2,511
- Reaction score
- 0
I need some tips and/or advise.
I have a form with a couple of fields about items and prices that the user needs to add. Basically what I need to check is that the data entered in certain fields are numbers only. This is easy using PHP but I need to check this before the form data is posted to my PHP script.
Is there a way that HTML and JAVA can do this for me? If I hit submit, do the check, have a little block popping up and telling me what fields are wrong and then allowing me to correct the fields and try again. If all fields are correct, move on to my PHP script...
Thanks in advance...
I have a form with a couple of fields about items and prices that the user needs to add. Basically what I need to check is that the data entered in certain fields are numbers only. This is easy using PHP but I need to check this before the form data is posted to my PHP script.
Is there a way that HTML and JAVA can do this for me? If I hit submit, do the check, have a little block popping up and telling me what fields are wrong and then allowing me to correct the fields and try again. If all fields are correct, move on to my PHP script...
Thanks in advance...