+ Start a Discussion
r nareshr naresh 

how to prevent the validation rules while inserting the records on visualforce page

Best Answer chosen by r naresh
Dushyant SonwarDushyant Sonwar
Hey Naresh,
Use immediate="true" attribute....
 

All Answers

Dushyant SonwarDushyant Sonwar
Hey Naresh,
Use immediate="true" attribute....
 
This was selected as the best answer
Dushyant SonwarDushyant Sonwar
It will by pass the validation rule on visualforce page.
Hope this helps..