-
idcdormsAsked on November 3, 2018 at 8:03 AM
Hello,
I have on my form a date field and I need to add to the date value 7 days and show it to the user.
How can I do it?
Thanks
-
ugurReplied on November 3, 2018 at 11:20 AM
Yes you can.
From conditions page, create a new condition
Choose if date is filled do calculate a field's value
From calculation element, click on ... at the bottom right. go to end of list and find dateString
After than add the value of date inside the brackets and add 7 to that.
It should be shown like that.
-
idcdormsReplied on November 4, 2018 at 1:21 PM
Hi
Unfortunately I get a strange calculation result:
-
Victoria_KReplied on November 4, 2018 at 2:40 PM
Hello,
Please try the following formula:
This is a result:
We will gladly assist if you need any further help.
-
idcdormsReplied on November 6, 2018 at 6:23 AM
Unfortunately not working
-
Victoria_KReplied on November 6, 2018 at 8:28 AM
Hello,
This is because you have used Large Date Picker widget to capture the date. Unfortunately, it is not returning a date string. You can try with regular date picker and this should work properly.
We will gladly assist if you need any further help.
-
idcdormsReplied on November 9, 2018 at 7:38 AM
Unfortunately it did not help.
I switched to a regular date field. -
Victoria_KReplied on November 9, 2018 at 9:00 AM
Hello,
As far as I understand this is your form: https://www.jotform.com/form/83063247979469
I have set the condition this way on your form:
It should calculate correctly now. Please check and let us know if you need more help.