[CLOSED] DateField with DateRange Validation

  1. #1

    [CLOSED] DateField with DateRange Validation

    On the example: https://examples2.ext.net/#/Form/Dat...From-To_Range/ the DateField has the following properties StartDateField and EndDateField, but on latest version there are not such properties.

    Going further, on onKeyUp function, the min and max values are set by using setMinValue and setMaxValue, but as far i can see its not necessary since the min and max values are updated when KeyUp event is fired.
    Last edited by Daniil; Sep 03, 2014 at 12:03 PM. Reason: [CLOSED]
  2. #2
    Thread number 6000 :)
  3. #3
    Hi Raphael,

    The StartDateField and EndDateField are a CustomConfig's items, not existing C# properties on the class.

    If a non-existing property is defined in a control's markup, we treat it as a CustomConfig item.

    Going further, on onKeyUp function, the min and max values are set by using setMinValue and setMaxValue, but as far i can see its not necessary since the min and max values are updated when KeyUp event is fired.
    Maybe... I don't quite remember why I've used it there. Though, it might be still required for some scenario. I would prefer to leave it. If you wish, you can remove it on your side.
    Thread number 6000 :)
    :) I remember how the first threads started to appear on the 2.x Premium Help forum... Time flows:)
  4. #4
    Maybe... I don't quite remember why I've used it there. Though, it might be still required for some scenario. I would prefer to leave it. If you wish, you can remove it on your side.
    I agree with you. I am gonna leave it "as-is".

    Thank you Daniil, please mark this thread as closed.

Similar Threads

  1. Replies: 3
    Last Post: Feb 19, 2014, 12:04 PM
  2. [CLOSED] [1.3] DateField DateRange javascript error
    By FVNoel in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 06, 2012, 4:41 PM
  3. [CLOSED] DateField daterange validation error
    By jeybonnet in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 15, 2012, 2:13 PM
  4. [CLOSED] [1.0] DateField MonthPicker with daterange
    By MP in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 08, 2010, 10:25 PM
  5. [CLOSED] DateField with Vtype="daterange" error
    By turione in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 27, 2009, 5:39 PM

Posting Permissions