- Troy BeglingerAsked on March 28, 2016 at 09:29 AM
It seems that when you get to the second page of the demo, you can still change the amount due, without doing anything more than clicking on the amount field and typing in a new amount. I changed a $20 total to a $1 total, that way, and it was willing to accept it as correct.
This is a re-post of a comment on How to Pass a Form's Calculated Value to Another Form's Payment Total Field
- victorAnswered on March 28, 2016 at 09:51 AM
To assist you better could you please indicate the form in question? Can you also please with "SECOND PAGE"? I am assuming that you created a multiple page form and the total amount is located on the second page. Or are you referring to the PayPal page? Are you able to modify the amount on the Paypal site?
- TroyAnswered on March 28, 2016 at 11:17 AM
What I am referring to is the second page of your demo, which has the calculated field information passed to it, prior to being sent on to the third page, which is where a user would actually pay via PayPal. Prior to continuing on to PayPayl, though, a user can change the amount owing to anything they want.
If you test the demo yourself, you will see what I mean quickly enough; just put an order together, continue to the second page, and type in whatever you want for the amount before going on to PayPal. The total can't be changed on the first page, but it can on the second. I hope that helps. ;)
- JotForm Supportashwin_dAnswered on March 28, 2016 at 12:38 PM
I understand the issue now. To solve this problem, you should add a "Form Calculation" widget in your form and then pass the value to your PayPal payment question. This will make the PayPal field non-editable and the users will not be able to edit the total amount. Please check the screenshot below:
Please test the following cloned form and see if this works as expected:
First Form: https://form.jotform.com/60874599734978
Second form: https://form.jotform.com/60874509991974
Feel free to clone this form for a closer look. The following guide should help you in form cloning: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
Hope this helps.
Do get back to us if you have any questions.
- TroyAnswered on March 28, 2016 at 01:40 PM
No worries; I'm not actually using JotForms, myself. I was simply browsing through your demonstration forms for ideas, and thought I'd help you to close up the hole I found, in case the same issue can be found in forms people are currently using.
- victorAnswered on March 28, 2016 at 02:46 PM
Thank you for your concern. This guide was only meant for a small sample on how to pass the cost value between form.
I will ask the person in charge of this guide, to update the form so the cost value in the second form is not updated.
We welcome any other suggestions you may have.