- BenAsked 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.
- grade4pagasaAnswered on April 25, 2016 at 11:11 AM
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?
- mobileappfactoryAnswered 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.
- JotForm SupportdavidAnswered 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.