I make a custom validator myDate
I try to give as var value the day and the month,
but when I try to get the values of the vars day and month,
I get the String literals birthDay and birthMonth

           <field property="birthDay"></field>

           <field property="birthMonth"></field>

           <field property="birthYear" depends="myDate">
               <arg name ="date" key="invalid.date"/>
               <var>
                     <var-name>day</var-name>
                     <var-value>birthDay</var-value>
               </var>
               <var>
                     <var-name>month</var-name>
                     <var-value>birthMonth</var-value>
               </var>
           </field>

Reply via email to