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
Stanley YeStanley Ye 

Controlling outputField - Jquery $('[id$=...]') .change(function(){ ... }) not working

We have a customized opportunity view page that overrides standard page in our SF. And now we need to add a controlling dependent list to this page:

Controlling field (picklist): Re-sign term
Dependent field (multi-select picklist): Re-sign Notice Period

We also have another text field: Re-sign term (other)

Our logic is if Re-sign term picklist value equals to 'Other', Re-sign term (other) textbox shoud be displayed, otherwise, keep hidden. We are trying to use Jquery to achieve this, but unfortunately, Jquery .change() event seems not working on this case (Re-sign term value changed, jquery is not triggerred). 

However, if we remove the field dependency, it is working fine. 

Any advices?



 
Corey Edwards 11Corey Edwards 11
Did you end up finding a solution for this issue? Have been looking over Salesforce Answers and cannot find anything relating to this issue.