You need to sign in to do that
Don't have an account?
Jordan Miles 9
Using lookup field in Visualforce to control user input
I have a visualforce page on my account detail layout that allows users to input legal identifiers, and an account can have multiple legal identifiers. The issue is, we have about 200 possible countries each of which have up to 7 legal identifier types, so 1400 max. I can't use a picklist because it only allows 1000 max. What I'm wondering is if there's a way to have something like a lookup field on the VF page and let the user pick the type. Note I don't want to "link" the account and the type together, just give the user a standard set of id "types" to pick from.
Is there any way to do this? Thanks in advance for the help.
Is there any way to do this? Thanks in advance for the help.
With a VF, you can use: apex:selectOption
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_selectOption.htm
+ the solution for overcoming the limit of 1000 options here:
https://developer.salesforce.com/forums/?id=906F000000094kBIAQ
http://kuldeeptyagi.blogspot.fr/
Regards
Alain