Hide Some Field When Click Update Button

hello guys ;;;

I have problem.I need hide some field in the yii form when click update button.

EX in db I have id,cratedate ,create id,updaet date update id,…etc.i need to hide update and udate date when clik crete button.pls help me.thaks

Just delete the related lines from the _form.php which belongs to that controller.