State Drop Down Menu

  • Profile Image
    Asked 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 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: