-
uqhallsAsked on May 20, 2020 at 11:21 AM
I am just wondering if you can do a number of weeks calculation between two dates for accommodation purposes, especially if you are charging on a weekly basis?
-
Niko_NReplied on May 20, 2020 at 1:11 PM
Greetings,
Thanks for your question!
Yes, that's absolutely possible.
1) First you need to add Dates Difference widget, that calculates the number of days between selected dates:
2) Then add Form Calculation widget and configure it:
3) You need to define the following calculations inside Form Calculation widget:
The idea is to add the DATES DIFFERENCE WIDGET > divide it by 7 > then append the word "weeks" at the end if necessary. It's also recommended to set the field as READ ONLY.
Please check my demo form given below:
https://form.jotform.com/201405490814954
Related guide: How-to-Perform-Form-Calculation-Using-a-Widget
Please let us know if you need any further assistance.
We're always happy to assist!