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
SARANG DESHPANDESARANG DESHPANDE 

I want to change the type of a lookup field from non-required to required depending on value in a picklist of same object(i.e using onChange attribute in visualforce) . Can somebody give me idea how to achieve this?