How To Update Data In The Same Form

i want to updata database by that way------

->when i press update option,my same inserted form will show with inserted data & also blank field will show i want update in the same form where i inserted data…plz can anyone help me with legal example…

Help meeeeeeeee

IF U WILL USE THE DEFAULT CRUD GENERATED BY YII , IN THAT THERE IS SAME FORM FOR INSERTION AND UPDATION, YOU CAN CHECK YOUR view/create and view/update from where the $_form is triggering

thanks for replay…i m checking

welcome

You may want to use TbEditableField/TbEditableDetailView from YiiBooster :)