Trouble setting up conditions for my country picker widget

  • Profile Image
    rbmans
    Asked on August 01, 2018 at 11:49 AM

    Hi,

    I am trying to create conditions for my country picker. I want the fields in the form below the country picker not be visible when no country is chosen, but also for some specific countries eg. England, USA, Sweden, Norway, Poland (some examples). I have created two conditions but it doesn't work.

    The best solution would however be if I could just in admin panel choose what countries that should be visible?

    Any solution for either would appreciated

    /Rob

  • Profile Image
    Richie_P
    Answered on August 01, 2018 at 01:06 PM

    I have checked your form and it seems you're in the right track with your conditions.

    You just need to add another condition to get the value of the countries to hide.

    The country picker uses a code to show/hide its country. You must use a short text entry to view this codes.

    We use the condition Update/Calculate field and copy the field value of the country picker widget in to our short text entry field.

    Now that we know the country picker code  for the countries, you can  add them in your condition to hide.

    Sample form:https://form.jotform.com/82124859131960

    Please give it a try and let us know how it goes.

    Thank you.

  • Profile Image
    rbmans
    Answered on August 02, 2018 at 03:46 AM

    Thanks,

    It works great!

    Just out of curiosity, Is it not possible to choose what countries to be visible from the admin panel somehow?

    Cheers Rob 

  • Profile Image
    Victoria_K
    Answered on August 02, 2018 at 05:40 AM

    Hello Rob,

    We will answer your new question here: https://www.jotform.com/answers/1542667 

    Thank you!