Auto complete picklist field for country

  • 2
  • Problem
  • Updated 3 years ago
in my contact object, i have a text field like' mailing_country' comes in managed package. now my requirement is like auto complete, when i start with 'U' letter, which is start with 'U' following countries need to come.can any one help.thanks
Photo of raj

raj

  • 840 Points 500 badge 2x thumb

Posted 3 years ago

  • 2
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb
I'm not sure where the managed package comes in, but the only way I can think to get an auto complete would be to:
1)create a custom object called mailing country.
2) Import a list of off the countries into it.
3) Then create a lookup relationship field to the mailing country object in your your contact object.
This will display as an auto complete when you bring it into your Skuid page.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Raymond is on the right track.  And here is an extension. 

Since you have a managed package - you probably cannot change the text field to be a lookup to the new related list.  So what you can do is create a UI only reference field that does this lookup,  and then an Action Fwk sequence that fires on save that updates your text field with the name value from the reference field before saving the record. 

We have a wee bug with UI only reference fields right now that might make this awkward,  but we're fixing it...