Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes How to validate number of checkbox selected using DynaValidatorForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to validate number of checkbox selected using DynaValidatorForm " Watch "How to validate number of checkbox selected using DynaValidatorForm " New topic
Author

How to validate number of checkbox selected using DynaValidatorForm

ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 131
Hi,
I am using DynaValidatorForm, and i want to validate
number of check boxes selected by the user,
for example to display details, user must select
atleast one checkbox on the the main page before
clicking display details button,
or user must select only one check box for specific
operation..
How do i define this condition in validation.xml??
Ashish


A$HI$H
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to validate number of checkbox selected using DynaValidatorForm