Date Calculation for Birthday Field

  • geekgirl
    Asked on September 5, 2019 at 3:46 PM

    I have a field called "Date Leaving".  Its a birthday field, technically.

    I want to add 90 days to Date Leaving and pass it to a hidden field called "Calc Field".

    Do I do this in Conditional Logic or use the Calculation Widget?

    If Yes to either option, can you show me an example.  I can't seem to get it to work calcualtion wise.

    There is only one form in my account.  That is the one I'm working on.

    Many thanks


    Belinda


  • Ivaylo JotForm Support
    Replied on September 5, 2019 at 5:25 PM

    You can just populate another DateTime field based on user input. You should add a Date Picker field and then add a condition. So, the condition will add 90 days and display the new date in the second Date field. Your condition should look like this:

    1567718456chrome 9bpiCOhaq1 Screenshot 10

    You can clone and test my form from here:

    https://form.jotform.com/92476840286972

    Let us know if you need any further assistance.

  • geekgirl
    Replied on September 5, 2019 at 5:49 PM

    Thank you so much Avaylock, that works for what I need.  I appreciate your fast response!


    Belinda