-
SANCsuzukiAsked on May 31, 2017 at 1:42 AM
Hello,
I have a registration form where the user enters, for example:
Number of A students
Number of B students
In the payment section, the user needs to enter the Number of A students and Number of B students (again) to calculate the total cost. How can I pre-populate the fields in the Payment section?
I am trying to use the attached Conditional form.
When I hit the pulldown on the "IF", I see my payment fields, for example:
fees:Number of A students (Quantity Products)
However, when I pulldown the "TO" , I do not see this choice.
I want to copy the '19. Number of Enrolled Students' to this field in the Payment section.
Thank-you!
-
candyReplied on May 31, 2017 at 3:17 AM
Hello,
It is not possible to prepopulate payment gateway inputs with conditions. The only way is using Form Calculation Widget in order to send values to the payment gateway. For further detailed information please check the following guide: https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget
Besides, I have cloned your form named "Student Registration Form" on my side in order to check it.
If you want to accomplish prepopulating payment gateway, you should create the products with multiple choice fields and set calculation values as prices as you can see in the following guide: https://www.jotform.com/help/301-How-to-Assign-Calculation-Value After set a form calculation widget in order to calculate their payment. And then, In order to get total calculation value from a form calculation widget, you need to set user defined amount option in the payment gateway.
All in all, you should change your form logic.
If you need further assistance, let us know.
Thanks.