Limit date selection if time is past 2PM

  • Angst
    Asked on June 26, 2020 at 7:48 PM

    I would like to make it so that my customer can not choose tomorrow as a date entry after 2PM today. Is that possible?

  • Vanessa_T
    Replied on June 26, 2020 at 10:42 PM

    Yes that is possible. Please add a Time field on your form and set it to default to Current time. Then add two date picker fields, one regular date picker, then the other one which is limited to today+2.

    Limit date selection if time is past 2PM Image 10

    Then create a condition that will show the date picker that does not allow selection of tomorrow if time is already past 2PM.

    Limit date selection if time is past 2PM Image 21

    How-to-Show-or-Hide-Fields-Base-on-User-s-Answer