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
udayarangareddy mekalaudayarangareddy mekala 

Development

Hi
What is the purpose of the "immediate= true"  and immediate= false in salesforce.please tell me explanation
Best Answer chosen by udayarangareddy mekala
Vishal Negandhi 16Vishal Negandhi 16
From one of the existing posts, this should help you:

VisualForce does a great job of automatically handling a lot of the validation for you so I was happy to come across an attribute of the CommandLink and CommandButton called immediate. By setting immediate to true, validation rules are skipped and the action associated with the button is executed immediately; thus the name!