On 6/22/06, Scott Van Wart <[EMAIL PROTECTED]> wrote:
With multibox, all the checkboxes have the same name:
A
B
So if none are checked, the property in the ActionForm will be
String[0]. If there's a way of checking array lengths in the validwhen
validator, that's all he should need, but I d
The Jasper wrote:
hi,
I think I shoul've looked more closely at your question. There are 2
problems I see. One is you want to make sure at least one checkbox is
checked. This could be done with validwhen. The other is that checkbox
values are only sent if checked, otherwise they are null. I don'
ling List
Subject: Re: validating checkbox
hi,
have you tried the required validator?
mvg,
Jasper
On 6/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Dear all,
> How can I validate atleast one checkbox should be selected b4 form
> submited. I am using h
Hi jasper,
S I have tried with required validator. It s not working.
regards,
Mansoor
-Original Message-
From: The Jasper [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 22, 2006 1:30 PM
To: Struts Users Mailing List
Subject: Re: validating checkbox
hi,
have you tried the
hi,
have you tried the required validator?
mvg,
Jasper
On 6/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Dear all,
How can I validate atleast one checkbox should be selected b4 form
submited. I am using html:multibox.
regards,
Mansoor
-
5 matches
Mail list logo