2-Digit State Code on Registration Form

  • Ernie
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 10 months ago #114451 by Ernie
Is there a way to get the registration form to use the 2-digit state code (for US states) instead of the full state name?

I need this in order to properly associate the field with the corresponding Community Builder field, Also, my client will be exporting the list for mailing and in the US we use the 2-digit code in proper addressing.

Thank you,
Ernie

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #114459 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic 2-Digit State Code on Registration Form
Hi Ernie

We display state name in the dropdown but the actual value stored in database is state_2_code

So it might work as you want already. The main question is where you want to use state_2_code (after it's stored in database?)

Tuan

Please Log in or Create an account to join the conversation.

  • Ernie
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 10 months ago #114486 by Ernie
Replied by Ernie on topic 2-Digit State Code on Registration Form
That's fine. The reason I ask is because the CSV export needs to have the two-character state abbreviation - which I tested and see that it does - and that the mapping to the State field in Community Builder is valid.

Thank you,
Ernie

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #114495 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic 2-Digit State Code on Registration Form
OK, great :)

Please Log in or Create an account to join the conversation.