File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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
It's not a secret anymore!