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.
I want to perform financial and other calculations based upon selections within JotFormAsked by sbohler on August 04, 2013 at 06:35 PM
Ahhhhh... I think you just opened up my world.
I want to perform financial and other calculations based upon selections within a jotform and have my calculated values passed to PayPal by the PayPal Pro Wizard section of a jotform.
Based upon this article and not knowing how to perform calculations within jotform itself, it seems my approach should be:
1 - Collect what I need via jotform A
2 - Pass this data via POST to a custom php page on my site named "redirect.php" (or whatever), who's URL I place in jotform A's custom Thank You page setting.
3 - Perform my financial and other calculations within my redirect.php file which passes it's results to jotform B who's PayPal Pro Wizard fields are thus prepopulated with my values.
The user will see my the calculated values in their proper fields, fill in their credit card info and proceed normally. The user will experience a simple transition from A)making selections, to B) verification and payment.
Is this the proper approach you would recommend for my needs?
This is a re-post of a comment on Send Submission Data via Post Method and Thank You Settings
Your approach will make the pre-population of the payment field with an already calculated value achievable.
It will also help us assist you much better if you can share to us the forms (A,B) involved. We can do some test/simulation on your payment fields using your actual forms.
Contact us again anytime for any assistance needed.