Conditional field based on reference field
I need to show certain fields/sections based on the value of another field (same model) that is a reference field...I've tried making the additional fields render based on the reference field name...and no dice. The problem here, I think, is that the value of said reference field doesn't populate until I save the model (because it's a reference to a related object). Yes, no? But even after I save and refresh, the conditioned fields don't appear. Ideas?
Tagged:
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
For example:
Account
Account.Name
Application
Application__r.Name
Something like that.
Can you also screenshot the Render condition setup you have?
Would you mind granting login access to us following these steps?
We can take a look at it from there
What you can do is go into your page xml and find this condition, and change it from
value="Child & Adolescent"/>
to
value="Child & Adolescent"/>
and see if that works.
You also may want to consider changing your picklist value from Child & Adolescent to Child and Adolescent to avoid any hiccups in the future, since & is a common programming character.
Congrats to Will!!