Custom Picklist values based on other fields

  • 1
  • Question
  • Updated 2 years ago
Object B (recipe ingredient) has a lookup to Object A (Ingredient). Object A has multiple fields of measurement conversions (kg, g, L, cups, ...)

There is a picklist on Object B, where I would like to only show values when the measurement conversion fields on A have data in them.

Is this possible with javascript snippet or something like that?

Appreciate any ideas. Thanks
Photo of Segolene Nicoloff

Segolene Nicoloff

  • 488 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Could you use conditional enabling or even conditional rendering to disable or hide the picklist field on Object B until there are values in Object A? 

If things were on the same object you could use standard picklist dependencies in the salesforce setup (Which skuid totally supports). But I'm not sure these are available cross object... 
Photo of Segolene Nicoloff

Segolene Nicoloff

  • 488 Points 250 badge 2x thumb
i thought the picklist dependencies were from one picklist to another not a text or number field to picklist? because i can easily transfer them across into a checkbox or something like that onto the same object with formulas.