Date fields dependency

  • Profile Image
    worldview
    Asked on October 13, 2017 at 06:25 AM

    Hi

    I have a date field (pick-up) where today or any future dates can be chosen.

    I would like the following date field (drop-off) to be limited to the previously chosen pick-up date or any future dates (dependent on the chosen pick-up date).

    Example: December 1 2017 is chosen in Pick-Up date field.

    Then Drop-Off field should only allow input of December 1 2017 or any future date.

    Is this condition possible to set-up?

    Thank you,

    Henrik


  • Profile Image
    Rose
    Answered on October 13, 2017 at 10:03 AM

    I assume you are referring to this form: http://www.jotformpro.com/form/72643114975965

    Moreover, if I understood your question correctly, the thing you want to build is like the scenario below:

    1. If pick-up dato field is selected as following:

    1507903200Screen Shot 2017-10-13 at 17.0

    2. Then, the dates before 17-10-2017 on the Drop-off dato field should be disabled to be selected:

    1507903286Screen Shot 2017-10-13 at 17.0

    Unfortunately, there is no way to disable dates inside the date picker with any condition. I will escalate this as a feature request but I can not give you an exact ETA about when or if this feature is implemented.