You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ma...@fss.co.in on 2006/06/21 13:09:00 UTC

validating select tag value

Dear all,

How can I validate at least any one should be selected in the select
tag.
Using validator framework in client side validation. By default it
contains "--Select--" on page load.

Eg:          <html:select property="role">
				<html:option
value="">--Select--</html:option>
				<html:option
value="1">Admin</html:option>
				<html:option
value="2">User</html:option>
				<html:option
value="3">Manager</html:option>
			</html:select>

 regards,

Mansoor 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org