show/hide in jquery using radiobuttonlist

My form has a radiobuttonList with 4 options. If a user selects any of the option my form must show him another form where he can find new options to be selected based on the option.

How can i implement something like this in Yii

For your problem, you can call an action of controller using AJAX function call on onChange event of radioButtonList. Create a form according to the selected radio button value in requested action. Further, add the new created form after your first form using Javascript.

Hope this helps.


Saurabh Dhariwal