How to remove state option in the address field?

  • Profile Image
    MartinInstrmnt
    Asked on August 15, 2018 at 05:35 PM

    How do I create a state address toggle that only contains 2 states to choose from?

  • Profile Image
    Jed_C
    Answered on August 15, 2018 at 08:56 PM

    The workaround is to unselect the state option and add a dropdown box that has only two states in it.

    1534380495state_option.png

    Then you will need to align the dropdown box with your address field via CSS. In my sample form below, I've added a CSS to adjust the alignment of my dropdown box to align it with the address field.

    #id_4{ 

      position: absolute;

      top: 207px;

      left: 168px;

    }

    Sample form: https://form.jotform.com/82267623049965. Feel free to clone it so you will see the settings I did https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL.

    I hope this helps. Let us know if you have any questions or if you need further assistance.