Jul 30, 2014, 4:10 PM
[CLOSED] Datefield Custom Range
Hi,
I have two Datefields, with a startdatefield and enddatefield custom config.
Now my new requirement is, to allow only a range of 14 days between startdate and enddate.
Is there an easy way to achieve that?
Regards
I have two Datefields, with a startdatefield and enddatefield custom config.
<ext:DateField ID="dfPlanDate" Editable="false" runat="server" FieldLabel="G?ltig ab" Name="PlanDate" Format="dd.MM.yyyy" TabIndex="3" Vtype="daterange">
<CustomConfig>
<ext:ConfigItem Name="endDateField" Value="dfValidUntil" Mode="Value" />
</CustomConfig>
</ext:DateField>
<ext:DateField ID="dfValidUntil" Editable="false" runat="server" FieldLabel="G?ltig bis" Name="ValidUntil" Format="dd.MM.yyyy" TabIndex="3" Vtype="daterange" Width="225">
<CustomConfig>
<ext:ConfigItem Name="startDateField" Value="dfPlanDate" Mode="Value" />
</CustomConfig>
</ext:DateField>
Now my new requirement is, to allow only a range of 14 days between startdate and enddate.
Is there an easy way to achieve that?
Regards
Last edited by Daniil; Aug 05, 2014 at 12:59 PM.
Reason: [CLOSED]