this is submit button generated by an extension
echo CHtml::submitButton($model->isNewRecord ? Yii::t($modelClassName, ‘Submit’) : Yii::t($modelClassName, ‘Save’));
how would i modify it, to have an html option which is to redirect?
thank you. it would be a big help.
That would be a question to ask the extension writer, not here, per-sea. However, under what condition would you want to say ‘redirect’ on the button? Redirection is also usually taken care of in the controller action not the view.