D
D
dsx902017-09-30 21:46:53
Yii
dsx90, 2017-09-30 21:46:53

How to connect dynamically the second form with the model?

I want to organize a single-table site structure, I'm thinking about how to make a choice in the DropDownList with AJAX loading an additional form with my model. Maybe someone contacted with a similar problem, throw some knowledge?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-10-01
@webinar

The question is too general, you have to guess what you really want to do, for example, there is a dropdown, an ajax request is launched on its change event, a model is created in the action where it got, and a form is returned using renderAjax , js inserts it into html.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question