i have a select box. by defualt it submits "-1". I want to write a validation using regex tosay the selection is mandatory. I have written the validator in the following way but it is not working. Please help.
<field-validator type="regex">
<param name="regex"><![CDATA[[1-9]{1,3}]]></param>
<message key="error.branch.required" >cannot find
error.branch.required</message>
</field-validator>
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*

