Validation rule on City field in Address

  • Profile Image
    jmurrayoppcommunities
    Asked on June 01, 2020 at 12:30 PM

    Hi,


    Is there a way to restrict the options for the City field inside of an address block?  We only want people who fill our form out to be from a particular city, but also don't want to hide the field, since we want them to visibly see that they need to be entering this particular city.

  • Profile Image
    Carlos_C
    Answered on June 01, 2020 at 03:37 PM

    Hello,

    Thank you for your message.

    I create a demo https://form.jotform.com/201526029115950.

    If you add City 1, City 2, or City 2 the form is going to show a message and hide the rest of the form.

    This is the result:

    You can add the following conditions: 

     

    My recommendation is to clone the form and test it: How-to-Clone-an-Existing-Form-from-a-URL.

    If you need any further assistance, please let us know. We will be happy to help.