How To Set Succes Message After Form Submitting

hey can anyone give me clear tutorials to show sucsus message after form submiting or any thing.can you step by step tutorial to get the clear idea.I follow flash message bt i cannot display message.pls help me.I need to know the behavior of model view controller for that.pls help me.

thanx in advance



Use ajax flash message

thanx.I got it from extension :D :D


   Yii has the default property for displaying the messages set the Flash message as [b]Yii:app()->user->setFlash('success','your message here');[/b]  in the controller after the command has been executed.