I think I would write the above qouted statement like this:
I tried it like this ,
with JSP code as ,
But field invalidated whether you select 'paypal' or 'authorize' , the right part of Boolean statement , like (*this* != null) , this works but not the first part , paymentOption == "authorize" , What seems to be problem here , I declared it as a String , Cant we match string like this ?
Originally posted by Ove Lindstr�m:
One of the "secrets" is to use the label attribute of the field you are validating.
What do you mean by label attribute ? [ September 03, 2008: Message edited by: Sagar Rohankar ]