wood burning stoves 2.0*
The moose likes Struts and the fly likes How to validate a radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to validate a radio button" Watch "How to validate a radio button" New topic
Author

How to validate a radio button

chingh tangh
Greenhorn

Joined: Apr 06, 2004
Posts: 11
I used the required validation for the radio buttion (by specifying in the validation.xml), but this is not displaying any error message..
This required validation is working for the normal text boxes..
Can't we do validation for the radio buttons in struts. pls clarify.
thanx in advance
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

It works for radio. There's not much to clarify.
What are you doing wrong? Please clarify.


A good workman is known by his tools.
 
jQuery in Action, 2nd edition
 
subject: How to validate a radio button