View Full Version : Java script required validation

11-01-2012, 04:43 AM

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

Philip M
11-01-2012, 12:23 PM
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.