How to limit options in the State field?

  • Profile Image
    agagsupport
    Asked on November 05, 2017 at 01:40 AM

    We only want to allow form submissions from Illinois and Indiana. How can I limit this?

  • Profile Image
    Nik_C
    Answered on November 05, 2017 at 04:58 AM

    If you meant to restrict the users to select countries in this drop-down:

    1509875498Screen Shot 2017-11-05 at 10.5

    You could uncheck country field from the Address field:

    1509875659Screen Shot 2017-11-05 at 10.5

    And add drop-down field with those options only:

    1509875708Screen Shot 2017-11-05 at 10.5

    So it will look something like this:

    1509875857Screen Shot 2017-11-05 at 11.0

    Could that work for you?

    Please let us know if you had something else in mind.

    Thank you!


  • Profile Image
    agagsupport
    Answered on November 05, 2017 at 09:53 AM

    It's not a great solution. Is there a way to set a Condition based upon the state selection? I looked but didn't see one.

  • Profile Image
    Jan
    Answered on November 05, 2017 at 11:30 AM

    Are you still referring to the "State" field inside the Address element? If yes, then I am sorry to tell you that it is not possible to assign a condition to that field.

    However, if you create a separate field for the "State", then you can use it in conditional statements.

    If you want, you can just create multiple fields and then use the "Shrink" function to align 2 fields in 1 row. Here's a screen capture:

    1509899421address.gif

    You can check this demo form: https://form.jotform.com/73085266828971.

    Hope that helps. If you have any questions, let us know. Thank you.