You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Reda Mokrane <ga...@yahoo.ca> on 2003/04/09 17:41:10 UTC
validating user input
I want to validate user input. I have two drop down (select) that contain 3 options like this :
<html:select property="Search">
<html:option value="N">Null</html:option>
<html:option value="A">A</html:option>
<html:option value="C">B</html:option>
</html:select>
and the second drop down
<html:select property="SearchWith">
<html:option value="A">A</html:option>
<html:option value="C">B</html:option>
<html:option value="D">D</html:option>
</html:select>
IF P then length must be 10 digits.
IF p Then length must be 8 digits
Thanks for any help
---------------------------------
Post your free ad now! Yahoo! Canada Personals