This is my code....
<field property="username" depends="required,minlength">
<arg0 key="advregBean.username"/>
<arg1 name="minlength" key="${var:minlength}" resource="true"/>
<var>
<var-name>minlength</var-name>
<var-value>3</var-value>
</var>
</field>
The error when there is no minlength is
Username cannot be less than ???en_US.3??? characters.
How do I get error
Username cannot be less than 3 characters.