Date Limit Options: Allow to use another date field as a reference to limit date

  • Profile Image
    kdevlin1983
    Asked on January 19, 2017 at 11:02 PM
    Have an end date selector that only allows or one or two weeks later on a Sunday.
  • Profile Image
    Chriistian
    Answered on January 20, 2017 at 12:04 AM

    To allow selection of dates two weeks later on a sunday, you will need to setup a custom date range to disable. At the bottom of the Limits section, input the date range today>today+14. The value 14 refers to the number of days, so the range will be the current day plus two weeks later. You can use this in conjuction with the "Days of the week" and "Past & Future" limits in the datetime to only allow future sundays two weeks after the current date.

    On the Limits tab, scroll to the bottom to see the date range and input the range there. It should look like the image below:

    For more information about the Date limits, you can also check out this guide: How to Use the Date Limits Option

    Regards.

  • Profile Image
    kdevlin1983
    Answered on January 20, 2017 at 12:41 PM

    Thank you. However, this will limit the select to two weeks past the current date, but I need it to limit the selection two weeks past the Start Date (if I am using two date/time fields, one for start and one for end date). Is there a way for the form to autopopulate the end date based on the start date selection and then limit it to 14 days?

  • Profile Image
    Charlie
    Answered on January 20, 2017 at 02:48 PM

    Unfortunately, the date limits cannot be dynamically set using a different date field. However, I did I try to look for a workaround using the Conditional logic, unfortunately it was not successful. 

    However, I think this is a good feature, I'll forward this to our developers as a feature request. Please note that we cannot guarantee that this will be implemented. It depends on the current workload and its feasibility. But we will update you on this thread as soon as we hear any news. 

    Thank you.