This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply 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: 130
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to validate number of checkbox selected using DynaValidatorForm
 
Similar Threads
Struts2 (2.1.8.1) Checkbox/Radio button validaton
Checkbox validation - at least one selected
Iterator issue in jsp
jsp
Select All checkbox in Jtable