If this is going to get into the distro could we call

<form name="manageResourcesForm">
<!-- validate that this both a valid date and that it precedes the end date -->
<field property="startDate" depends="date,consecutiveDates">
<msg name="consecutiveDates" key="errors.consecutiveDates" />


               <arg0 key="admin.editNotice.prompt.startDate" />
               <arg1 key="admin.editNotice.prompt.endDate" />
               <var>
                   <var-name>secondProperty</var-name>
                   <var-value>endDate</var-value>
               </var>
           </field>

"secondProperty" to 'laterDate' or 'endDate' or whatever to better indicate ordering? And/or change the name of the validation to 'dateAfter', 'dateBefore', etc.?

Then I won't have to change my code :D

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to