from what i have experienced in yii a link created via CHtml helper automatically submits the CHtml::form where it resides. I am in the situation of creating a CHtml::linkButton out of the form that i want to submit.
I have solved creating a tag <a> with some javascript that submit the CHtml::form, but in my opinion it is not an elegant solution.
Is there another way to do so?
Page 1 of 1
linkButton out of CHtml::form to submit the form
#3
Posted 25 October 2008 - 02:10 PM
do you have a code example for a linkbutton out of a CHtml::form (but in the same view) that submit that form?
Share this topic:
Page 1 of 1

Help
This topic is locked











