You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Frank Schaare <lo...@gmx.de> on 2004/03/17 18:30:48 UTC
How to validate selects
Hi all,
i´m doing some selects like this:
<html:select property="foo">
<html:option key="please select" value="null"/>
<html:optionsCollection name="foo" property="bar"/>
</html:select>
Now, i have to validate, that the user has made his choice, which means
that the 'foo' property is notNull.
Does anyone have an idea how to realise this in struts ?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org