How to put a difference in submission date and target date?

  • asifjamilakhtar
    Asked on August 1, 2016 at 3:45 AM

    HOW CAN I PUT A DIFFFERENCE OF 7 DAYS BETWEEN CASE SUBMISSION AND TARGET DATES? I.E TARGET DATE SOULD BE ATLEAST 7 DAYS AHEAD OF SUBMISSION DATE

  • Chriistian Jotform Support
    Replied on August 1, 2016 at 6:29 AM

    To compute for your target date (7 days ahead of the submission date), you can try the following steps.

    1. Add a DateTime field that will capture the current date.

    How to put a difference in submission date and target date? Image 1 Screenshot 50

    Note: Set the Default Date setting to current so it will capture the current date.

    2. Add a Calculation field to compute for the date.

    How to put a difference in submission date and target date? Image 2 Screenshot 61

    3. Setup the formula for the Calculation field as follows.

    How to put a difference in submission date and target date? Image 3 Screenshot 72

     

    You can check this sample form: https://form.jotform.com/62132950031948 for more information. This is how the form will work:

    How to put a difference in submission date and target date? Image 4 Screenshot 83

     

    Do let us know if you need further assistance.
    Regards.

  • asifjamilakhtar
    Replied on August 1, 2016 at 7:45 AM
    U have done it with a simple method. You can open the form and see.
    ...
  • Chriistian Jotform Support
    Replied on August 1, 2016 at 9:26 AM

    Hi,

    Looks like your message was cut off. If you are trying to attach a screenshot to this thread, please see How to add screenshots/images to questions to the support forum?

    I also browsed your form but none of them captures submission date. If you are working on a particular form, please give us the link to the form.

  • asifjamilakhtar
    Replied on August 2, 2016 at 1:45 AM
    PLEASE SEE THE FIELD SUBMISSION DATE AND TARGET DATE. I HAVE INSERTED ATHE
    CALCULATE FIELD WIDGET AND A CONDITION THAT THE DIFFERENCE SHOULD NOT BE
    LESS THAN 4 DAYS AS SEEN IN THE SCREEN SHOTS BELOW
    [image: Inline image 2]
    [image: Inline image 1]
    ...
  • Chriistian Jotform Support
    Replied on August 2, 2016 at 3:04 AM

    I checked your condition for the dates on this form and found that the condition has a target value of 2. If you want to show the message if it is less than 4 days, then you will have to change the value of the condition to 4. 

    How to put a difference in submission date and target date? Image 1 Screenshot 30

    Other than that, your form seems to be setup correctly. The condition should work as expected.

    How to put a difference in submission date and target date? Image 2 Screenshot 41

    If you need further assistance, please let us know.
    Regards.