Required select  works for me! do you have the normal text file validation
working ?

-Dan
----- Original Message -----
From: "Steven Citron-Pousty" <[EMAIL PROTECTED]>
To: "struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, March 30, 2003 1:43 PM
Subject: Validation for anything other than html:text


> Greetings all:
> How do you validate a html:select or html:radio for required using the
> validator plugin.
> All the doco deals with html:text. I found some old postings but they
> didn't really explain how to do this.
> I tried it out and it doesn't seem to work. I want the form to return an
> error if the user forgets to pick something off the select list.
> I printed out what was in the request for the select list and its a
> blank or null, which, according to the javaDoc should fail for a
> required field.
> Thanks for your help,
> Steve
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to