function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ComradeComrade 

"Interactive" lookup dialogs

Hi,

I need to buld a custom object, which has two "lookup" relations (first - the type of this object and second - its subtype).
It would be nice to have next behaviour on UI: when "type" is selected, then list in second lookup dialog is restricted to provide only subtypes of this type.

Is there any solution for it?

Thanks in advance.
DevAngelDevAngel
You can use dependent picklists for this. In the setup area there is a button above the custom fields called Field Dependencies. You use this to create dependent picklists.