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 add hidden value to dropdown items and show the calculated total in Paypal?

    Asked by canvashut on April 22, 2014 at 09:51 AM

    I've been trying to use the Form Calculation widget to work out the cost of an order that a customer would put through out form.

     

    We have a wide range of options for the customer to select and each option may add or subtract from the final total.

     

    Is there any way that I can add a hidden value to each option in a drop down list that a widget like Form Calculation will pick up and be able to use?  I don't mind having the value on display but because our products are named by their size, "8x8" for example, it really messes with Form Calculation, so a defined value for each option would be handy rather than relying on what the option is called...  Is this possible?  Maybe there is a better widget than Form Calculation for us to use?

     

    Also, is it possible for Jot Form to take the total that Form Calculation comes up with, and send it to Paypal to make a payment of that total?

    Page URL:
    http://www.canvashut.com/pages/Upload.php

    hidden form calculation Selection and
  • Profile Image

    Answered by EliezerN on April 22, 2014 at 11:01 AM

    We already have a Paypal integration that will allow you to show a "Total" of the products your clients have chosen, that way you do not need to use the Calculation widget. Here is how to add a Paypal integration to your fom and how to make it show the Total property:

    Besides, let me inform you that it is not possible to pass a total value from an external field to Paypal, that would require to use the and handle the form full source code and adding custom script.

    You can also add options to your Products so that you can offer them products with different features, this guide may help you for that purpose: 

    How to add options in the Payment form

    I hope this helps. Please inform us if you need further assistance with this query.

    Thanks