<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">

<form-validation>
  <!--
    Define global validation config in validation-global.xml
  -->
  <formset>
      <form name="address">
              <field property="usCitizen"
                     depends="required">

                  <arg0 key="address.usCitizen"/>
              </field>
              <field property="startDate"
                     depends="required">

                  <arg0 key="address.startDate"/>
              </field>
      </form>
      <form name="name">
              <field property="address.usCitizen"
                     depends="required">

                  <arg0 key="name.address.usCitizen"/>
              </field>
              <field property="address.startDate"
                     depends="required">

                  <arg0 key="name.address.startDate"/>
              </field>
      </form>
  </formset>
</form-validation>
