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.
Question about inventory widget and calculation.Asked by CharlesRuppert on July 24, 2015 at 02:34 PM
I have designed a booking form on your platform which everything works great except the client wants one change. Where I have the hunts set up he only has room for six hunters if they book 2 hunters one guide. But if they book one hunter one guide he only has room for 3. Is there any way either by using the calculations are the inventory plugin itself to reduce the number of 2 hunters one guide down if someone books one one hunter one guide are vise versa. I have talked to coder freinds of mine and it baffled them as well but hoping you guys have a solution and if you do I will be able to bring alot of business your way because I have close to 30 more outfitters that want sites but the reservation is the hardest piece to fit. There is a ton of software out there for booking but hard to find good software dedicated to outfitters.Also I have conditions setup on the form that dont seem to be working correctly when you click on the week it is suppose to open the pricing for that week but when I get it to work it works for awhile than suddenly stops working.
If I understood it, if a booking is made for 1 guide and 2 hunters (3 people) the only available room is with 6 beds.
And if it is 1 guide and 1 hunter (2 people) then only it will be offered rooms with 3 beds.
Is that what you want to achieve? If not please provide us more details about your request.
Looking forward to your reply.
I have moved your other question to separate thread and we will provide you and answer there shortly.
No they have plenty of room for more people to stay. But if someone books a one person one guide hunt than it would reduce the amount available of the 2 person one guide hunt to 4. So basically there is a total room for 6 hunters if they all go 2 people one guide but if it is one person one guide there is only room for 3.
To clarify this, do you mean that there are only 6 slots available per hunting trip (May 15 - May 20 on the below screenshot)?
For example, 4 hunters + 2 guides, 3 hunters + 3 guides or 2 hunters + 1 guide + 3 observers?
So if we take the first week there are 6 slots available for 2 hunters on guide.
But if they want just one hunter one guide ther are only 3 slots available.
So if he books 2 hunters for the two hunter and one guide
Than book 1 hunter and one guide there is only:
2 hunters one guide available or one hunter one guide
So if I understand you correctly, the available slots should be tied to the number of available guides, and there are 3 guides in total for any given date.
If this is the case, I would actually recommend that you please use the Inventory widget to store just the guides available, rather than the entire "packages" of hunters+guides that your users are purchasing. By storing just the guides available in the Inventory, you would only need one Inventory widget per date.
Then, you can use Conditional Logic to output the number of guides that they have booked to another field, so that it can be used to further present them options to select between two hunters per guide, or one hunter per guide. (You can hide this field, but I have left it visible so that it can be seen in action.)
I have simply added three more radio button fields underneath, where your customers can select if the wish to book two hunters per guide, or one hunter per guide. These radio buttons are shown conditionally, depending on the number of guides selected.
You can assign Calculation values to these radio option by following our guide on How-to-Assign-Calculation-Value.
All that would be left on the demo form is to set up the calculation field to calculate all the selected fields in the Guide numbers, and pass that calculated value to the Payment Tool.
I hope this helps. Please let us know if you need further assistance.