Jul 22, 2010, 1:43 PM
[CLOSED] DatePicker Validation
Hi,
I have used for two date picker controls in my application. The following source i have used in my page.
Those controls are worked fine in client side for validation on two dates. Also it showing alert tooltip.
Even i am trying to click save button those values are updated in database.
How to show alert window if mismatch the two date values when i click a button?
Regards
Rameshkumar.T
I have used for two date picker controls in my application. The following source i have used in my page.
Those controls are worked fine in client side for validation on two dates. Also it showing alert tooltip.
<tr>
<td>
<ext:LabelID="lbl_etd"runat="server">
</ext:Label>
</td>
<td>
<ext:DateFieldID="dtpick_etd"runat="server"Width="180"Vtype="daterange"FieldLabel="To">
<CustomConfig>
<ext:ConfigItemName="endDateField"Value="#{dtpick_eta}"Mode="Value"/>
</CustomConfig>
</ext:DateField>
</td>
</tr>
<tr>
<td>
<ext:LabelID="lbl_eta"runat="server">
</ext:Label>
</td>
<td>
<ext:DateFieldID="dtpick_eta"runat="server"Width="180"Vtype="daterange"FieldLabel="From">
<CustomConfig>
<ext:ConfigItemName="startDateField"Value="#{dtpick_etd}"Mode="Value"/>
</CustomConfig>
</ext:DateField>
</td>
</tr>
Even i am trying to click save button those values are updated in database.
How to show alert window if mismatch the two date values when i click a button?
Regards
Rameshkumar.T
Last edited by Daniil; Jul 23, 2010 at 7:17 AM.