How to prepopulate products via URL Parameters

  • madzoon.shant
    Asked on May 25, 2020 at 1:26 PM

    What about my products section.. quantities...

  • Eduardo_H
    Replied on May 25, 2020 at 1: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.shant
    Replied 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_C
    Replied 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

    How to prepopulate products via URL Parameters Image 1 Screenshot 20

    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.shant
    Replied on May 26, 2020 at 4:25 AM

    https://form.jotform.com/200954375684464

    This is the products am talking about 

  • Richie JotForm Support
    Replied on May 26, 2020 at 6:25 AM

    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.