JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
How to pass a field's value to payment field?Asked by mgcaledonian13 on November 14, 2016 at 02:11 AM
Is it possible to repeat the value of a Quantity field in the Quantity field within PayPal,
I don't want user to have to re-enter this quantity, as they will probably get wrong !!
quantity in a repeat
Sorry omitted the URL of the Form
I have cloned your form to my side and I have made some changes on it.
First of all, you can pass a calculation field in your form to your Payment Field. Please have a look at this guide: How-to-Pass-a-Calculation-to-a-Payment-Field
When I checked your form, "Fish, Film and Flowers Night 2017 - per person £ 7.50 GBP" radio button is read-only radio button field and it is default option. In other words, you multiply "Number in Party" field with 7.50 in all cases when user select "Paying by..." option as "PayPal".
You can do it by changing a little bit your PayPal integration. I have prepared an example for you. Please clone this form to your side: https://www.jotformpro.com/form/63181162324953
Please have a look at the instruction below about how to pass calculation value to payment:
How to add Form Calculation Widget
Click "More Fields" and search "Form Calculation". Drag and drop it to your form.
After that, please hide it.
Select Calculation Field and click Wizard icon.
Set up your calculation here. Please click "ADD FIELD" button to add a field which is used in your calculation.
How to Pass Value of Calculation Field to Payment
Select your payment wizard and click wizard icon.
Delete your existing product and click Settings icon.
Chose "Payment Type" as "User Defined Amount" and "Get Price From" as "calculation" field.
Finally, Save PayPal Integration Settings.
Please have a look at the result in the following video below.
In addition, please have a look at this guide about how to clone: How-to-Clone-an-Existing-Form-from-a-URL
If you need any further assistance, please feel free to let us know.
That worked OK
Thanks a lot
On behalf of my colleague, you're welcome.
Feel free to contact us again if you need anything else. Enjoy the rest of your day.