Adding New Dynamic Field In Form

I wan to add new field in my form.

Like if If I selected country then a new field states should display with corresponding state of selected country and after selecting states city drop down should display.

How can I achieve this in yii framework.

You can use this extenstion

if you want drop down for select country or city

CaseCade Drop down