xml « Validation « JSP-Servlet Q&A





1. Regex in validation.xml    stackoverflow.com

how would I add a line for a regex check to make sure only A letter of the alphabet.. A-Z is entered in this form field?

<field property="code" depends="required,maxlength">
    ...