You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mallik <ma...@yahoo.com> on 2006/10/10 11:46:18 UTC
select box validation in validation framework help?
hi friends
i have to validate that the user should selected any option except
default('select', this is a text to indicate the user to select options in
this select box) option.
how can i do it help me..
ur's
Mallik
--
View this message in context: http://www.nabble.com/select-box-validation-in-validation-framework-help--tf2415520.html#a6733244
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: select box validation in validation framework help?
Posted by Laurie Harper <la...@holoweb.net>.
Mallik wrote:
> hi friends
> i have to validate that the user should selected any option except
> default('select', this is a text to indicate the user to select options in
> this select box) option.
> how can i do it help me..
> ur's
> Mallik
Make sure the 'default' option's value is empty, and use a 'required'
validation. That should do what you want.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org