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

    Dates Difference widget [Result Format] reports number of days, but not the dates while that is the selected format

    Asked by Ben on April 25, 2016 at 08:40 AM

    I am opening this for David.

    We had talked on Twitter and the Dates Difference widget seems to be what would be great for his form(s).

    The issue is however that the widget offers to select one of the following:

    1. Difference only

    2. Dates only

    3. Dates and Difference

    This suggests that it would be possible to get the number of days between the two dates, and to get calendar values (like 2016-04-25 for example) depending on the setup.

    Currently no matter what is selected, the returned format is always:

    3 - when returning value as number

    Difference: 3 days - when returning value as text.

    format selected difference dates difference
  • Profile Image

    Answered by grade4pagasa on April 25, 2016 at 11:11 AM

    Hi Ben. 

    I also noticed that  quirk. 

    However, when you check the email notification or autoresponder, it will show both the Dates selected and the Difference. The magic happens in the background. The sad thing is, the magic won't show in the active form itself. 

    Titus, requesting to add the same functionality in the live form?

    Much appreciated. 

    - Randy

     

  • Profile Image

    Answered by mobileappfactory on April 25, 2016 at 11:11 AM

    The dates difference widget is excellent. It also prevents a date prior to the first date being selected.  It would also be useful to have a result output as part of the widget. 

    I could imagine having the dates as a list may be useful to populate a matrix/table or specific fields.

  • Profile Image
    JotForm Support

    Answered by david on April 25, 2016 at 12:45 PM

    A ticket has been opened for this issue.  We will let you know via this thread when the functionality has been been included.