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
Nidhi CloudNidhi Cloud 

User can change opportunity status in forward manner only and one stage forward at a time.

Can anyone help me in generating the validation rule for this one 
Best Answer chosen by Nidhi Cloud
SwethaSwetha (Salesforce Developers) 
Try this

This formula displays a 30 x 30 pixel image of red or green, depending on the value of isConverted field.
IF( IsConverted,
IMAGE("/img/samples/color_red.gif", "red", 30, 30),
IMAGE("/img/samples/color_green.gif", "green", 30, 30)
)

This document  has good examples of advanced formulas (page 24)

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you

All Answers

SwethaSwetha (Salesforce Developers) 
HI Nidhi,
Can you share more details on your ask with an example/screenshot(if possible) for a better understanding?
Thanks
Nidhi CloudNidhi Cloud
It is solved : AND( CASE(  StageName  , "Prospecting",2, "Qualification",3, "Need Analysis",4, "Value Proposition",5, "Id. Desicion maker",6,"Perception Analysis",7,"Proposal/Price Quote",8,"Negotiation/Review",9,"Closed Won",10,"Closed Lost",11,0) < CASE( PRIORVALUE(StageName ), "Prospecting",2, "Qualification",3, "Need Analysis",4, "Value Proposition",5,"Id. Desicion maker",6,"Perception Analysis",7,"Proposal/Price Quote",8,"Negotiation/Review",9,"Closed Won",10,"Closed Lost",11,0))
Nidhi CloudNidhi Cloud
Hi Shweta,
Can you help me in this one pleas!

Create a formula field to show green colour image when lead status is converted and red colour image when status is other that converted. 
SwethaSwetha (Salesforce Developers) 
Try this

This formula displays a 30 x 30 pixel image of red or green, depending on the value of isConverted field.
IF( IsConverted,
IMAGE("/img/samples/color_red.gif", "red", 30, 30),
IMAGE("/img/samples/color_green.gif", "green", 30, 30)
)

This document  has good examples of advanced formulas (page 24)

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
This was selected as the best answer