27 lines
1.1 KiB
XML
27 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN" "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
|
|
<form-validation>
|
|
<formset>
|
|
<form name="validatableFormData">
|
|
<field property="item2" depends="minlength">
|
|
<msg name="minlength" key="minlength.msg" resource="true"/>
|
|
<var>
|
|
<var-name>minlength</var-name>
|
|
<var-value>4</var-value>
|
|
</var>
|
|
<arg0 key="item2.minlength.name" resource="true" name="minlength"/>
|
|
<arg1 key="item2.minlength.length" resource="true" name="minlength"/>
|
|
</field>
|
|
<field property="item4" depends="minlength">
|
|
<msg name="minlength" key="minlength.msg" resource="true"/>
|
|
<var>
|
|
<var-name>minlength</var-name>
|
|
<var-value>8</var-value>
|
|
</var>
|
|
<arg0 key="item4.minlength.name" resource="true" name="minlength"/>
|
|
<arg1 key="item4.minlength.length" resource="true" name="minlength"/>
|
|
</field>
|
|
</form>
|
|
</formset>
|
|
</form-validation>
|