How can I limit the date picker, so that only the last day of each month was available?

  • Profile Image
    WTAAWitz
    Asked on March 23, 2018 at 07:04 AM

    Hello,

    how can I limit the date picker, so that only the last day of each month can be chosen?



    This is a re-post of a comment on How to Use the Date Limits Option

  • Profile Image
    Victoria_K
    Answered on March 23, 2018 at 10:12 AM

    Hello,

    Unfortunately, there is no possible workaround to allow only the last day of each month automatically at Date Picker, except of Disabling Date Ranges manually. 

    You can disable custom ranges at the LIMITS tab of the Date Picker properties:

    1521813906screenshoti4f2m.png

    1521813927screenshotfljg6.png

    Which results:

    1521814266screencast2.gif

    Hope this helps! But if you need further assistance, just let us know.

  • Profile Image
    Victoria_K
    Answered on March 25, 2018 at 04:20 PM

    The format you used produces a confusion. For example, you asked to disable a range from 01-01 of undefined year(e.g 2018) to 01-30 of undefined year(2019 or 2018?).

    That's why you need to use the full format of dates:

    2018-01-01>2018-01-30

    2018-02-01>2018-02-27

    2018-03-01>2018-03-30

    2018-04-01>2018-04-29

    2018-05-01>2018-05-30

    2018-06-01>2018-06-29

    2018-07-01>2018-07-30

    2018-08-01>2018-08-30

    2018-09-01>2018-09-29

    2018-10-01>2018-10-30

    2018-11-01>2018-11-29

    2018-12-01>2018-12-30

    But, it works when disabling custom dates:

    How-to-Use-the-Date-Limits-Option

    Hope this helps!

  • Profile Image
    WTAAWitz
    Answered on March 25, 2018 at 05:02 PM

    Thank you very much! Unfortunatelly this means more work :( But main thing it works! ;)