Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Java script required validation
11-01-2012, 03:43 AM #1
- Join Date
- Nov 2012
- Thanked 0 Times in 0 Posts
Java script required validation
Kindly help me on this incidents
In my jsp page i need to write java script functions for require fields validations
for example when i select the other credit option in drop down box show the comment text field with asterisk symbol and if i don't enter the comments show the dialog box like "Please enter comments"
in my drop down box i have 5 option only two items but only show the asterisk symbol and if i don't enter show the dialog box
like "Please enter comments"
example other credit and other debit
Kindly help me on this issue
11-01-2012, 11:23 AM #2
- Join Date
- Jun 2002
- London, England
- Thanked 2,531 Times in 2,509 Posts
It is not much use just quoting examples of your requirements.
Form validation has been covered very many times in this forum. Try using the search feature. If you are still having problems feel free to come back, but please post the code you have written - then someone will most likely help you correct/improve it.
Please have a look at the forum rules regarding double-posting.
1.2) Do not crosspost- CodingForums.com is divided into various categories. When initiating a thread, always locate the most appropriate category, and post your question only ONCE, in that category. Do not post the same question in multiple categories.
All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
Last edited by Philip M; 11-01-2012 at 11:25 AM.
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.