I want to perform financial and other calculations based upon selections within JotForm

  • Profile Image
    sbohler
    Asked 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

  • Profile Image
    jonathan
    Answered on August 04, 2013 at 08:18 PM

    Hi,

    YES.

    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.

    Thanks.