How can I list a two letter state abbreviation code to show up on the address field?

  • Sakinah
    Asked on September 20, 2023 at 8:25 AM

    Hi

    Can I code the states to show up as 2 letters instead of being spelled out?

  • Mohammad_D
    Replied on September 20, 2023 at 10:58 AM

    Hi Sakinah,

    Thanks for reaching out to Jotform Support. If I understood what you’re asking, you can omit the States option from the Address field. And add a Dropdown element to your form where you can list the two letter state abbreviations under the Options tab, like you see in the screencast below:

    How can I list a two letter state abbreviation code to show up on the address field? Image 1 Screenshot 30

    You get the following results:

    How can I list a two letter state abbreviation code to show up on the address field? Image 2 Screenshot 41

    If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better? 
    After we hear back from you, we’ll have a better idea of what’s going on and how to help.

  • uniquemcsolutionsllc
    Replied on September 22, 2023 at 3:56 PM

    How do I get the state back inside the address section? How can I list a two letter state abbreviation code to show up on the address field? Image 1 Screenshot 20

  • Mohammad_D
    Replied on September 22, 2023 at 4:56 PM

    Hi Sakinah,

    Thanks for getting back to us. Unfortunately, the feature you're looking for isn't available at Jotform right now. As a workaround, if you have added the Dropdown element, don't Shrink the field. Keep the Field Label blank. And enter the word State in the Sublabel field.

    How can I list a two letter state abbreviation code to show up on the address field? Image 1 Screenshot 40

    I get the following results where the Dropdown element is placed below the Address element.

    How can I list a two letter state abbreviation code to show up on the address field? Image 2 Screenshot 51

    Check out the screencast below to see how it's done:

    How can I list a two letter state abbreviation code to show up on the address field? Image 3 Screenshot 62

    Give it a try and let us know if you need any help.