+ Start a Discussion
pallam krushnaveni 18pallam krushnaveni 18 

after validations I want to display save success message for few seconds before render to another page , please help me on the same

I am validating my page after validation success ans save the record and rendering to another page.
Before render i want to display save success message and i want to render to another page .
SandhyaSandhya (Salesforce Developers) 
Hi,

You can use ApexPages.AddMessage(new ApexPages.Message(ApexPages.Severity.CONFIRM,'Record Created Successfully.Thank you!'));

Also refer below link.

https://salesforce.stackexchange.com/questions/10897/displaying-apexpages-messages-on-redirected-visualforce-page
 
   Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya