hi,
i want to integrate a form on demand. But i have no idea how to use CHtml::ajax(), ajaxButton() or ajaxLink().
Maybe i need something complete different.
can somebody please give me a hint.
thanks in advance
hi,
i want to integrate a form on demand. But i have no idea how to use CHtml::ajax(), ajaxButton() or ajaxLink().
Maybe i need something complete different.
can somebody please give me a hint.
thanks in advance
Maybe you should rephrase your question to make it more concrete.
ok… sorry
Lets say i have a document called "domain/reg",
in this document the user has to type in his informations, like: firstname, lastname, etc… i guess you get the point.
than the user can type in a domain and description
if he wants to add more domains, he can do that by clicking the [add Domain] button.
every time a new domainfield and descriptionfield will appear.
the user can click that button as often as he wants
if someone could give me an approach i'll try to figure it out be my self.
thanx
Do you mean you have will multiple domain and description rows? If so, you may refer to this section: http://www.yiiframew…uide/form.table
Your remaining problem would be how to create a new row by clicking on a button (dynamically on the client side using js). I believe you may find a lot of solutions for this problem by googling it.