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
Syam Mohan 13Syam Mohan 13 

Hide Picklist option based on the same picklist value

Hi,
There is a scenarion in Case Object where we need to hide some picklist option from Status field.

Details:
Once Case is saved with New status and later when tries to edit the same record the Status Picklist option should see only "Closed", and "In Progress" and want to hide all other options. That is based on the Case Status previous saved values, we should be able to hide certain options.
 
I don't think Record Type is a solution here, as there might be many status options. Could you please suggest any idea on this ?

Thanks,
Syam  
SubratSubrat (Salesforce Developers) 
Syam Mohan 13Syam Mohan 13
Hello Subrat,
Dynamic forms are used for arranging the fields and can be used for Custom Object. As i need to modify the Case Status options of Case Object (which is a standard one), i think Dynamic Form is not good option.

Thanks,
Syam