Calculate fields and pay with paypal

  • Profile Image
    Asked on January 02, 2013 at 01:14 PM

    HAPPY new year team of JOTFORM, write les because I need your help with the following form:

    I need the following:

    Total ¨ = (quantity rooms x number of nights) + additional services

    Pay = send form to mail and redirect to pay with paypal


    1.-total field must be blocked for not vary the amount

    2.-If they placed an amount in anticipate payment redirect with that amount to paypal

    3.-If not placed an amount redirect to paypal with the total payment

    4.-If it is possible to calculate the advance payment that is 20% of the total

    5.-send all the form mail + total + advance payment 

    I hope that it is not much ask, thank you very much

  • Profile Image
    Answered on January 02, 2013 at 04:15 PM

    Hi John,

    Your requirement on the form is not easily doable using the form builder alone. The JotForm form is simply not intended for a payment system you mentioned.

    For long term easy management, efficiency and stability, I would rather suggest you utilize the payment fields available on the form as is. It maybe a little longer of a form (if you add each item on the payment fields), but it will be the same effort  if you create a program outside JotForm just to come up with the payment system you have in mind.

    For this customization to happen, you will have to use the form's source code and inject some code that will do calculations -- using javascript or php codes.

    Hope this help. Please inform us if you have further details to share.