Dropdown Field: Calculation value for the first Predefined Option cannot be set

  • Gloignon
    Asked on January 31, 2018 at 10:09 AM

    Hi,


    I would like to change the price of my event depending on the country entered in the form, allowing a cheaper price for countries with a lower income. Is it possible to change the price based on the country field?

  • BJoanna
    Replied on January 31, 2018 at 11:46 AM

    It is not possible to change the price inside of the payment field based on selected county. 

    However, you can set your product field outside of the payment field using the basic fields. If you will be using a dropdown field with country options, you can assign a different calculation value to each county. Then you can perform a calculation inside of the form and finally pass the calculation to your payment field.

    How to Assign Calculation Value

    How to Perform Form Calculation Using a Widget

    How to Pass a Calculation to a Payment Field

    Here is my demo form: https://form.jotform.com/80304579640962 

    Feel free to test it and clone it

    Hope this meet what you are looking for.

  • Gloignon
    Replied on January 31, 2018 at 1:15 PM

    Wow thanks alot for the demo, I will use this method.

  • BJoanna
    Replied on January 31, 2018 at 1:55 PM

    You're welcome. 

    Feel free to contact us if you have any other questions. 

  • Gloignon
    Replied on February 19, 2018 at 10:56 AM

    Hi again,

    I finished my pricing structure and entered a price for each country. However, it seems that the wrong value is used by the calculation field. For instance, Canada is set to 700$ but when I select Canada the price (as shown in the country price field) is 500.

    the form:

    https://form.jotform.com/80324904438254

  • BJoanna
    Replied on February 19, 2018 at 11:46 AM

    I tested your form and I was able to replicate the issue you reported. The issue seems to be related to Predefined Options, in your case the Countries. It seems that the first Calculation Value is actually assigned to Please select country, which should be an empty option. 

    1519058414price Screenshot 10

    I will report this issue to our developers and we will inform you via this thread once this issue is resolved. 

    For now, I can only suggest you to set the Predefined Options to None and add manually the Countries as dropdown options. 

    1519058541dropdown Screenshot 21