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

    How to do calculations in our form based on user selection and pass it to PayPal?

    Asked by Hyogagroup on August 06, 2015 at 11:48 AM

    Hi there!  I am working on a Dinner Registration form. 

    The reservation would allow 2 types of booking - Seat or Table.

    I would like to put check boxes next to "Seat" and "Table" and a respective Number/text box along side each option for member to enter the no. of Seat and/or Table they would like to book.

     

    ======================================================

    (CheckBox)  Seat       No. of tickets  (SeatNumber/textbox)

    (CheckBox)  Table      No. of tables   (TableNumber/textbox) 

    Total Calculation:  "Seat price" x "SeatNumber" + "Table price" x "TableNumber"

    ======================================================

     

    Then I would like add calculations to my form that calculates the total amount that needs to be paid. Payment can be made via PayPal so I would like to give them a total.




    Thank you very much in advance!

     

    Page URL:
    https://secure.jotformpro.com/Hyogagroup/hys80dinner

    checkbox calculations selected selected checkbox
  • Profile Image

    Answered by Ben on August 06, 2015 at 01:00 PM

    Now since we can only assist with one thread at a time I have moved your second question to a new thread here: http://www.jotform.com/answers/630925 where we will be replying to it shortly.

    In regards to your first question, I have created a quick sample form to see if that is what you meant.

    You can see it here: http://form.jotformpro.com/form/52175229527963

    If that is what you are after do let us know and we would be happy to assist in setting up your own form in the similar fashion.

    You can also clone it to your account by following the steps here: How to Clone an Existing Form from a URL for closer inspection.