dropdownnames

i have created two dropdowns in my view and i passed the values from view itself and not from database.now if i need to populate the value of one dropdown by selecting a value in other dropdown what names of dropdowns should we write in controller defined function. please help me

Your question is a bit confusing but I guess that you are trying to create dependent dropdown lists. There are tons of posts regarding that problem:

http://www.yiiframework.com/forum/index.php?/topic/19596-dependent-dropdowns/page__p__95986__hl__dependent+dropdown#entry95986

http://www.yiiframework.com/forum/index.php?/topic/18483-dependent-dropdown/page__p__90983__hl__dependent+dropdown#entry90983

http://www.yiiframework.com/forum/index.php?/topic/15227-dependent-dropdowns/page__p__75744__hl__dependent+dropdown#entry75744

And this: http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown ;)

i am trying to create a dropdown with values passed from my view itself and not from database.I shouldnt give $model as my first parameter in syntax of dropdown.can anyone provide me the syntax of dropdown without using ARmodel.