How can I assign calculation values to radio button options and pass a value to a payment field

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

  • Profile Image
    david
    Answered on August 16, 2016 at 06:34 PM

    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:

    https://www.jotformpro.com/form/62286981960973

    If you have any further questions, let us know and we will be happy to help.