aspose file tools*
The moose likes Struts and the fly likes Validwhen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validwhen" Watch "Validwhen" New topic
Author

Validwhen

Mike Floyd
Greenhorn

Joined: Jan 27, 2005
Posts: 26
Hi, i've a problem with the depends ="validwhen" attribute, i would that the field "accept" is equal to the String "Yes", i've tried to do so:

but there's an error!!!
Anyone can help me pls?
Thanks
Nate Leech
Ranch Hand

Joined: Feb 07, 2005
Posts: 43
What's the error?
Mike Floyd
Greenhorn

Joined: Jan 27, 2005
Posts: 26
i've solved, i've created an apposit method to handle the radio button.
Bye
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Validwhen
 
Similar Threads
Struts validation help needed....
Help with validation rules for form with multiple submit buttons
validate two passwords in struts
struts validation
validwhen returns required error messge