Validating date widget

  • Profile Image
    melobob
    Asked on November 26, 2021 at 07:16 AM

    Hello everyone, I'm trying to prevent users from submitting a form by validating data on the date field, but the widget doesn't show me any option to configure those limits, even with the switch turned on, as shown in the image below.


    1637928923_61a0cfdbe71bc_Screenshot at N\


    So how can I set it, please ?

    Thanks
    Carlos.

  • Profile Image
    Patrick_R
    Answered on November 26, 2021 at 07:21 AM

    Hello Carlos,

    Limits for the Datepicker field can be adjusted from the LIMITS tab (as shown in the below screenshot).

    1637929242_61a0d11a3ec21_

    Please give it a try; let us know if you come across any questions.

    Thank you!

  • Profile Image
    melobob
    Answered on November 26, 2021 at 07:37 AM

    Thank you Patrick, but that doesn't help me.

    Whats I want is prevent users to set data for the day they are filling out the form. Only days ahead from today would be allowed.

    I've tried it from conditional logic section without success.

    Could you please help me on it ?

  • Profile Image
    Christopher_T
    Answered on November 26, 2021 at 07:49 AM

    Hi,

    Please apply today+1 at Start Date of Start & End Date in Date Picker Properties > LIMITS as shown in the image below.
    1637930901_61a0d795c645b_
    If you have any questions, please let us know.

  • Profile Image
    melobob
    Answered on November 26, 2021 at 04:11 PM

    Hi,

    I've done what you told me without result.
    Please check this video: https://drive.google.com/file/d/1dFODdtnKFA5Zrpl1onRVdgvo4F21BfkE/view?usp=sharing

    Do you think the reason is due to language ? I wrote it in English and the system translated automatically.

  • Profile Image
    Michal_S
    Answered on November 26, 2021 at 04:14 PM

    Hello!

    Yes, "today" has to be in English.

    It's quite likely the system automatically translates it due to your language settings.

    To avoid having you change the language for such a small adjustment, I have now set the starting date to today+1 - please check if the current functionality suits your needs.

    Thank you!

  • Profile Image
    melobob
    Answered on November 26, 2021 at 04:48 PM

    Great !
    All set.

    Thank you.