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.
How to calculate the day count from two date fields?Asked by basedave on April 25, 2016 at 06:17 AM
I intend creating a leave form that automatically insert number of days after choosing from the calendar from and to date. just like an auto calculating system.E.g. from 01/03/2016 to 05/03/2016 to give us 5days automatically.
Your reply will be highly appreciated.
You can take advantage of our "Dates difference" widget and see if that fits into your requirement. It will automatically give you the day count between two dates. Please check the screenshot below:
Please be noted that you can also add two date fields and then add a "Form Calculation" widget to calculate the date difference between the date fields. Please check the screenshot below:
Hope this helps.
Do get back to us if you have any questions.