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.


  • Profile Image

    Two quantity properties needed in Payment Wizard

    Asked by eiermann on July 14, 2014 at 11:42 AM

    Hi there,

    I am using the payment wizard for the following form.

     

    I need two quantity porperties:

    1. number of rooms

    2. number of nights

     

    Unfortunately JotForm only allows one quantity property. How can I make sure my guests can select the number of rooms and the number of nights they would like to book and see the total amount they need to pay? 

    Or can the number of days automatically calculated from the calendar (check-in and check-out date)?

    two quantity properties

    Looking forward to your reply!

    Page URL:
    http://form.jotformpro.com/form/41700262103942

    quantity properties JotForm height check
  • Profile Image
    JotForm Support

    Answered by david on July 14, 2014 at 12:43 PM

    Hi,

    You could setup a custom calculation widget:

    That will take in the type and amount of each room, run a calculation to based off that cost and the number of nights, then pass that calculation to your payment widget:

    For each new type you would just add another part to your equation, for example:

    ((singleBungalow * 250000) + (singleLumbung * 250000) + (doubleBungalow * 400000)) * (nights)

    Here is a an example I made with your form:

    http://form.jotformpro.com/form/41945191588971?

    Please let us know if this is not what you were looking for and we will be happy to assist you further.

    Thank you for using Jotform!