Can I display only City and State values to be entered for an address field?

  • 0
  • 1
  • Question
  • Updated 4 weeks ago
  • In Progress
Can I display only City and State values to be entered for an address field? 
Photo of Raj Helaiya

Raj Helaiya

  • 1,450 Points 1k badge 2x thumb

Posted 2 months ago

  • 0
  • 1
Photo of Daniel Thurber

Daniel Thurber

  • 90 Points 75 badge 2x thumb
I would like to know if this is possible as well.
Photo of Micro Dev

Micro Dev

  • 1,474 Points 1k badge 2x thumb
I would do the following:

1) create 2 text fields for city and state which should be displayed only on add or edit.
2) display the address field only in view mode.
3) create a dynamic rule to change the value of the city field within the address field to the value of the city text field you created and do the same for the state.
Photo of Mikail Kote

Mikail Kote

  • 138 Points 100 badge 2x thumb
Or you can involve Formula fields to avoid having too many Dynamic rules

1.) Like you said 2 fields Labeled State and City make them both Formula - Text

2.) If you look on your address field options and scroll all the way down you will see Address Subfields. using the field labels such as [Address: City] and [Address: State/Region] you can apply them to your newly created fields

3.) Very simple
Under City field just enter [Address: City]
and do the same to State
Under State field just enter [Address: State/Region]

4.) Make sure to place them into your form as Edit or View


and finally: