aspose file tools*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to validate a radio button" Watch "How to validate a radio button" New topic

How to validate a radio button

chingh tangh

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

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.
I agree. Here's the link:
subject: How to validate a radio button
Similar Threads
required validation for radio button
Render Problem
problem with Date validations thru Validator-rules.xml and Validation.xml
struts2 radio button validation
how to disable struts validation