JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Date calculationsAsked by jonnavarra on September 01, 2015 at 05:13 PM
I read a posting dated Feb 2014 re: calculation to add 1 month to the current date, which at the time the ability was not yet supported by JotForm.
Wondering if the request to add the functionality has been implemented? Unable to find in the forum otherwise.
I can't seem to find the mentioned thread. It's not under your username here.
Anyway, that's already possible. If you are referring to changing the default date to show one month in advance, here's how:
Or with the calculation, here's an example:
1. Add 2 date fields
2. Create an "Update a form field value" condition like the following:
Hope this helps!
Sorry just getting back to this now!
I was hoping for a more of a accurate way of date calculations, for example to add a year to a date entered on a date field. i would hate to arbitrary add 365 or 366 not checking for leap year or accounting for the precise number of days of a particular month.
Is the a method that does this already?
Unfortunately, this feature is not currently available in JotForm. If you want, we can escalate a feature request for you to our development team. Please confirm.
We will wait for your response.
I think that will make even more better than it is now. Date calculations
is essential in any app.
I think our DateString can do that - in the Math Functions (http://www.jotform.com/help/267-Form-Calculation-Math-Function-Reference). I will try to ask our developer about this and let you know.