What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
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.
Easy way to change the total on a paypal purchaseAsked by eman_no1 on August 02, 2014 at 03:21 PM
Student 1: $135
Student 2: Has First Name == True & Has Last Name == True: Add $135
Student 3: Has First Name == False & Has Last Name == False: Add $0
purchase name first name
Please check this clone version of your form: http://www.jotformpro.com/form/42136447455961. You'll noticed the textbox fields and the calculation widget at the bottom. Fill the second and third child's name. You'll see the results in the Payment box.
Let me know if this is what you are trying to do so I can give you the steps.
Thanks Welvin, that is exactly what I am looking for.
You can have the same by following the steps below:
1. Add two Textboxes to the form
2. Add a conditional logic to insert a number to these fields. You have to add a separate logic to each child (2nd and 3rd). Please refer to this guide: https://www.jotform.com/help/268-How-to-Insert-Text-or-Mathematical-Caculation-into-a-field-using-a-Condition. The conditional logic should be "IS FILLED", for example:
3. Add the Calculation Widget. In the calculation section, simply sum up the two textboxes + 135 for the first child (by default). See screenshot:
4. Lastly, run the payment wizard and make sure to select "Donation" then get the amount from the calculation. Check this visual guide:
That's it! You're done! You can also simply clone my form above by following this guide: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL and use it.
If you require any further assistance, feel free to let us know here!