File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Joined: Sep 28, 2002
Dec 01, 2004 12:47:00
I have a drop down list with several options and one text field. Depending on what is in my drop down list I need to validate the text field differently.
For example if I have "Stock" selected in the list, I should have letters in the textfield. If I have "Cash" selected in the list I should have numbers.
I looked at the validwhen validation of validator, but cannot see how to combine it with other validations.
Can anyone assist, thanks,
N.D:"Anything worth having, takes time to get"
I agree. Here's the link:
dynamic drop down list values
fetch only checked data
Reg : Drop-down box
transfer data from text box to multiple select list box.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014