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

    Creating order form with calculated total based on user selection

    Asked by amateurmiami on November 20, 2014 at 06:08 PM

    i was wondering if it's possible to create an order form with the option to add options to the product.  For example

     

    I want to sell a camera.  100$.  I wanted the buyer to be able to select if they want for example memory cards, bags, batteries in a drop down menu or anything of that nature along with it  and it'll add on what they select.

     

    So ideally it'd be camera 100$ and under it

     

    batteries-  choices ( 2 for 5 bucks, 4 for 9 )etc

    Memory card - 4gb 10 bucks 8 gm 20 etc

     

    then a total when everything is selected

    order form custom calculation
  • Profile Image
    JotForm Support

    Answered by Mike_T on November 20, 2014 at 06:21 PM

    Thank you for contacting us.

    Yes, we can do the calculation based on a user selection, and then forward the calculated total to the Payment Tool. Please take a look at the following guide:

    How to pass a calculation to a payment field

    If you need any further assistance on this, please let us know. We will be happy to help.

  • Profile Image

    Answered by amateurmiami on November 20, 2014 at 06:24 PM

    Thank you for the quick reply.  I was wondering if it's possible to do it with a Purchase order as I didn't see that as an option when I glanced over it.

  • Profile Image

    Answered by raul on November 20, 2014 at 06:44 PM

    Yes, it will work with the purchase order too.
    You need to select the Custom Amount Payments option and pick the form calculation widget from the dropdown list named as "Get Amount From"

    Let us know if you have further questions.
    Thank you.

  • Profile Image

    Answered by amateurmiami on November 20, 2014 at 06:56 PM

    I'm new to this so i apologize if I'm doing something wrong but I don't see "Get amount from"  I only get the Suggested amount option

  • Profile Image

    Answered by raul on November 20, 2014 at 07:15 PM

    You forgot to add the form calculation widget in your form

    Also, you need to handle your product list outside the payment tool.

    Please take a look at this formhttp://form.jotformpro.com/form/43237251368960 it's a basic calculation form that you can use as a startup point. Feel free to clone it if you want to.

    Let us know if you have further questions.
    Best Regards.

  • Profile Image
    JotForm Support

    Answered by abajan on November 21, 2014 at 06:27 AM

    @amateurmiami

    If you want to build just a simple one product form with optional addons, that can actually be accomplished with the payment tool alone, as in this demo. Four products were added and the camera was set to Required and Selected by default:


    Thanks