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
sawaji varunsawaji varun 

How to enable or disable the textfield when selecting item from picklist on the standard page

How to enable or disable the textfield when selecting item from picklist on the standard page like leads, accounts etc.
bob_buzzardbob_buzzard
You can't do this in the standard pages I'm afraid. The only interactions between fields are dependent picklists. Your options currently are:

(1) Override the standard page with Visualforce - overkill for this I'd say
(2) Wait until the edit record home page feature becomes GA in the lightning experience, and you'll be able to replace just the elements that you want to add functionality to.

At present, I'd be handling this via a validation rule until option 2 is available.