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
Mahanandeesh BelagantiMahanandeesh Belaganti 

for my community,i have two objects user with approvestatusfield(picklist with 5 managers) and irta with irta nymber field. what i want is when irta number is selected we should get at which manager(approval status field) the record is present

 for my community,i created two objects, user object with approvestatusfield(picklist with 5 managers) and irta object with irta number field. what i want is when irta number is selected we should get at which manager(approval status field) the record is present i.e approval status.please help me in this problem.if any code  is required please send.try it as soon as possible
KevinPKevinP
While I'm not inclined to write your code for you, you can do what you're looking for by using some on-page javascript. Here are the steps:
  1. Establish an onChange handler for your IRTA picklist
  2. Establish a map or hash between IRTA values and manager fields
  3. in your onChange handler, reference the map and grab the value for manager field that matches the selected IRTA value. 
  4. Set the manager field's option to selected where it matches.