Hidden Button

How do i hide or activate a button on a form? i’m using one form, from 2 different action page.can you help me? sorry i’am new in yii :unsure:

You can use jQuery:

Google for ‘jQuery button disable’