How Do I Have a Field Display a Date Which Is a Specified Number of Days Prior to That Selected in a Date Field?

  • kingfisherweddings
    Asked on February 6, 2016 at 8:44 PM

    How do you get the conditions wizard to look like that I can only get the calculation wizard to do this. And I cannot get it to work. How frustrating it is grrrrr

  • Boris
    Replied on February 6, 2016 at 9:05 PM

    Those posts were made in 2015, which is why they are showing our old conditions interface. When it comes to outputting a date in one field based on date entered in a different field, I see that my colleague's form still works fine:

    https://form.jotformpro.com/form/51887792699987

    How Do I Have a Field Display a Date Which Is a Specified Number of Days Prior to That Selected in a Date Field? Image 1 Screenshot 40

    I also see that it is working, showing a date 7 days less than the original date, in your cloned version of my colleague's form:

    https://form.jotformeu.com/form/60364147425352

    Can you please let us know which of your forms you are trying to set up in such a way, and to which field you are trying to output the date, and we will be happy to help you in setting it up.

    I've checked your form named Enquiry Application, and I see you are using the Form Calculation method, which is working fine. If you want to add or subtract days from the original date field, please also add your calculation, as depicted in the following image:

    How Do I Have a Field Display a Date Which Is a Specified Number of Days Prior to That Selected in a Date Field? Image 2 Screenshot 51

    You can also send a date to another Date field by using conditional logic, with Insert rules:

    How Do I Have a Field Display a Date Which Is a Specified Number of Days Prior to That Selected in a Date Field? Image 3 Screenshot 62

    You can see a result of both of these methods in the following form:

    https://form.jotformpro.com/form/60367970106961

    Field named Form Calculation is a calculation, and is set to be 3 days less than wedding date. Field named Conditionally calculated date is the one where date is conditionally inserted, and this one is set to be 7 days before the wedding date.

    Let us know if you need further assistance, and we will be happy to help.