How to prepopulate products via URL Parameters
-
madzoon.shantAsked on May 25, 2020 at 01:26 PM
What about my products section.. quantities...
This is a re-post of a comment on Prepopulating Fields to Your Jotform via URL Parameters
-
Eduardo_HAnswered on May 25, 2020 at 01:44 PM
Unfortunately, only Basic fields can be filled using URL Parameters. Widgets and Payment elements don't allow for prefilling.
If you need to use prefilling on your products, you might employ basic fields for them and later pass the value to a payment element.
Guide: How-to-Pass-Field-Value-to-Another-Field
I hope that helps.
-
madzoon.shantAnswered on May 25, 2020 at 10:59 PM
Yes i am down with any workaroudn, however what is the rule to calculate the product inside a bisic filed ? all i can copy is the totat.
Bottom like am trying to separate products from address since i want to allow auto fill on adress only -
Jed_CAnswered on May 25, 2020 at 11:52 PM
If you wan to separate products from address, you can create:
1). Address field
2). Checkbox, Radio button or Dropdown field for product options.
3). Pass the total value to a form calculation field
4). Assign the form calculation field to your payment field
For more detailed steps, please refer to our guide here https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field.
Let us know if you have any questions or if you need further assistance.
-
madzoon.shantAnswered on May 26, 2020 at 04:25 AM
https://form.jotform.com/200954375684464
This is the products am talking about -
RichieAnswered on May 26, 2020 at 06:25 AMJotform Support
You would have to use the basic fields to be able to use the URL parameter.
However, you will not be able to use the quantity field. You would have to separate it as a number field or dropdown.
Then you may assign values or manually calculate the total using the form calculation widget.
https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget
Sample form: https://form.jotform.com/201462657508053
Please check it out and let us know how it goes.