I have a registration form. Based on the which registration type is selected, the form content will be different.
In a non-framework environment, I would handle this by having a "onclick()" for each radio button of registration type, and the onclick would call a js function to display the div containing the appropriate form and hide the others.
Is there a more elegant way of handling this in Yii? (I'm still spleunking in the api)
Ah, ok that takes care of the onclick functionality. Thanks. I was also wondering if there's a more elegant way via Yii's api to handle the need for a form that changes without reloading the page than the standard hidden div javascript.