On 9/25/06, Heidy Gutiérrez Guzmán <[EMAIL PROTECTED]> wrote:

I need to validate an html:select with validator framework

<html:option value="null">---</html:option>

I tried to use the required validation, but that does'nt work, i think
because the html:select have the "---" default value

More likely it's because you have value="null", which is the String
"null", not the null value.

Try using <html:option value="">---</html:option> with the required
validator and see if that works.

--
Wendy

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

Reply via email to