What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    State Drop Down Menu

    Asked by walkingtreetravel on November 21, 2013 at 04:19 PM

    Hello! Is there a way for me to change the "state" field in the address form to a picklist instead of a text field?  I want to force my applicants to chose a state in istead of them writing whatever they want.  Is this possible?

  • Profile Image

    Answered by Cesar on November 21, 2013 at 06:34 PM

    Hello, you can remove the state and country fields and use a standard drop-down menu. The standard drop down menu contains a special feature that allows you to display US States. 


    To hide the States and Country fields you can Inject CSS Code:

    NOTE: The code will depend on the name of your fields, these are the names of the example form I have created for demonstration purposes. Field Names May Vary.

    display: none;}

    Also we should hide the States label and use a Sublabel instead.
    On my example form this would hide the States drop down label: 

    visibility: hidden;}

    These are the steps to hide the fields Injecting CSS Code. On the Form Editor go to the Setup & Embed. Click on Preferences, on the preferences window go to the Form Styles tab. Here you will find the Inject Custom CSS field.


    Hope this gives provides you the neccesary information to get you on your way. If you do need further clarification or additional assistance, do let us know. Thank you.

    This is my example form Address field with State Drop Down: