-
nlacen2Asked on June 12, 2025 at 6:05 PM
I added the check-in and check-out date pickers and added the number box.
Tried using the calculation widget but do not understand how to do the conditional logic based on my question above
-
Jason JotForm SupportReplied on June 12, 2025 at 10:48 PM
Hi Nancy,
Thanks for reaching out to Jotform Support. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.
-
Jason JotForm SupportReplied on June 13, 2025 at 12:06 AM
Hi Nancy,
Instead of using the Dropdown element to determine the number of nights, I recommend replacing it using the Form Calculation widget. Let me walk you through it:
1. In Form Builder, click on Add Element on the left side of the page.
2. In the Form Elements menu, under the Widgets tab, enter Form Calculation in the search bar, and drag and drop the widget to your form.
3. In the Widget Settings that pop out on the right side of the page, click on the Add Field button and select the Check in and Check out date picker element. Make sure to add the Minus between those selected fields.
4. Finally, click on Save button, and you're done.
Here's the result:
Give it a try and let us know if you need any help.
-
nlacen2Replied on June 14, 2025 at 12:46 PM
Thank you so much Jason for your help. I followed your instructions and everything worked!
Your Reply
Something Went Wrong
An error occurred while generating the AI response. Please try again!