Harland, David wrote:
I have three checkboxes that can all either be unchecked or only one can
be checked.

How do I create a Validator rule for this. I don't think it is possible
to do this neatly as I think you will always get more than one of the
same error message. Can someone please tell me if I am right.

You may be able to do what you want with validwhen, though it might get a bit hairy. If only one checkbox should be selected, maybe you could use radio buttons instead? Failing that, you may need to plug in your own custom validator (see [1] for details).


[1] http://struts.apache.org/userGuide/dev_validator.html

Thanks

Dave.

This e mail is from DLA Piper Rudnick Gray Cary UK LLP.
[... ad nauseum]

Sigh.

L.

--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to