Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jose L 4 posts 74 karma points
    Apr 06, 2018 @ 07:23
    Jose L
    0

    Disable Future Dates on Umbraco Date Picker

    Hi all,

    It would be possible to disable in a custom date picker the future dates. I mean for example, today is 06/04/2018 so when the content editor enters into the document don´t allow the editor to set a date in the future. enter image description here

    So, in this case, the content could not select a date in the future

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Apr 06, 2018 @ 08:14
    Michaël Vanbrabandt
    1

    Hi Jose L,

    a possible solution could be to create your own Date Picker Property editor.

    You can read more about property editors in the documentations:

    https://our.umbraco.org/documentation/Tutorials/creating-a-property-editor/

    Hope this helps.

    /Michaël

  • Jose L 4 posts 74 karma points
    Apr 06, 2018 @ 09:53
    Jose L
    0

    I will have a look mate, thanks for the input

  • Developer 22 posts 123 karma points
    Jul 02, 2018 @ 09:47
    Developer
    0

    Hey Jose,

    Did you find any solution for this? I have similar requirement of restricting future date in date picker.

  • Jose L 4 posts 74 karma points
    Jul 11, 2018 @ 08:06
    Jose L
    0

    I follow the lead propose by @Michaël Vanbrabandt

Please Sign in or register to post replies

Write your reply to:

Draft