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.
1. I created 2 DateTime fields.
2. I also created a normal text box field where the result of the calculation will show.
3. After that, I used the condition "Update a Form Field Value".
4. The condition looks like this:
The condition (If End Date is Filled) is configured like this so that the (Total Days) field will not show any value until the data is completed. Because, if you put a value on the Start date, it will immediately perform calculation even if there is no End date.
The formula shows End date - Start date, because it will be a negative value if it is the other way around.
Let us know if you need any help. Thank you.
You need to open a new thread next time so that we can assist you properly. I created a thread for you, this is the URL of the new thread: http://www.jotform.com/answers/578977
Thank you for understanding.