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.
How can I assign calculation values to radio button options and pass a value to a payment fieldAsked by diowestmich on August 16, 2016 at 04:48 PM
I'm trying to auto-populate my paypal box with $70 if a person says that they are a guest or a "clergy unaffiliated with a parish," but I can't seem to get it to work. I'm not sure what I"m doing wrong - I've worked on this sort of thing a number of times, but it seems you've updated the software a little and I can't figure it out.
The other two options on the form, which are "youth delegate" or "postulant/seminarian" are free, no charge options.
I've tried putting values in the "I am a" field, and they just don't seem to pop up in the credit card field.
I'm sorry to have to ask!
First thing to do is assign your radio button options calculation values. Click on the "I am a" field, then click on the little gear icon to bring up the options. From there, go to "Surveying" tab and add in the values for each option. Since your first two options are $70, assign those 70. The last two are free so we will assign those 0:
Next, add a calculation field to your form. That can be found in the "More Fields" section by searching for "calc":
For the calculation used, you only need to include your "I am a" field:
Add the field from the "Add Field" button on the right.
After that, pass that value to your payment field. While setting up the payment field, change "Get Price From" to the calculation field:
Here would be the resulting form:
If you have any further questions, let us know and we will be happy to help.