Why is my calculation widget not being populated with the amount selected in the radiogroup (radio button field) by the user?

  • SimonKentonCouncil
    Asked on December 8, 2014 at 1:17 PM

    We have a form at <http://form.jotformpro.com/form/43284354235959> that isn't correctly calculating an amount owed. We have a "total" field and a field with the amount to be paid by credit card, and neither is auto-populating with the calculation result. If you click a number of patches, or key in "other," neither option works for us. We correctly linked the calculate feature, we think, but nothing is happening in the auto boxes. Please help!

  • abajan Jotform Support
    Replied on December 8, 2014 at 4:21 PM

    There are a couple of issues here. Firstly, the calculation is being applied to the Number of Items or Pounds Collected field instead of the Number of Patches Needed ... one:

    Why is my calculation widget not being populated with the amount selected in the radiogroup (radio button field) by the user? Image 1 Screenshot 60


    That's why when a number is entered in the former, it appears in the Total owed for patches ... and Payment and Billing Information fields. To correct this, click the wizard icon on the Total owed for patches field

    Why is my calculation widget not being populated with the amount selected in the radiogroup (radio button field) by the user? Image 2 Screenshot 71


    and in the work area do the following:

    1.

    Why is my calculation widget not being populated with the amount selected in the radiogroup (radio button field) by the user? Image 3 Screenshot 82


    2.

    Why is my calculation widget not being populated with the amount selected in the radiogroup (radio button field) by the user? Image 4 Screenshot 93


    This will cause the calculation fields to be populated with whatever is selected in the "Number of Patches Needed ..." field. However, if a user selects "Other" and enters a custom amount, the population won't work. To fix that, go into the properties of the "Number of Patches Needed ..." field and remove the word "Other" from its Calculation Values:

    Why is my calculation widget not being populated with the amount selected in the radiogroup (radio button field) by the user? Image 5 Screenshot 104


    Save the jotform when done.

    Please let us know if you need further help with this.


    Thanks