What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Is there a way to use the calculator tool with the calendar?

    Asked by GSNYPENN on April 25, 2017 at 05:52 PM

    I am creating a marketing request form.

    I would like our internal staff to choose a date and then have the due date automagically return a date 6 weeks out (on a Monday - Friday.)  Is there a way to do that using the calculator tool?  I am guessing there is, but I could definitely use some assistance if you can show me how to code that up!

    Thank you!

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Mike_G on April 25, 2017 at 09:32 PM

    Thank you for explaining your concern in detail.

    Yes, it is possible to automatically show a due date in one Date Field if the other Date Field is filled.

    What you will be needing are two Date Picker fields.

    Then, define the condition shown in the image below in your form.

    The condition above means that if the "Choose a Date" field is filled, its value plus 42 (6 weeks) is going to be in the "Due Date" field.

    To prevent your staff from selecting weekends from "Choose a Date" field, you can disable "Saturday" and "Sunday" from the date field's properties under limits tab.

    Note: You can also disable Past dates.

    I hope this helps. If you have any further questions or concerns, please feel free to contact us again anytime.

    Thank you.