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
VRKVRK 

Help required on Validation rules

Hi Team,
scenario :
I have Case object and status picklist filed .
Status field have New, In-progress,completed, Rejected and Closed.
My requirement is :
When Creating case , only user can select status value is NEW not other values , But in details page user can select any status values.

THanks
sekhar
Best Answer chosen by VRK
Leon ThanikalLeon Thanikal
Hello sekhar123,

Try this and see if it works:
IF( ISNEW() ,  IF( NOT(ISPICKVAL( Status , 'New')) , true, false) , false)

Hope this helps!