Unable To Get The Selected Value Of Dropdown List After Submit Button On Other View And Match In Query

Hello everyone.plz help me I have one dropdownlist in my view.And I have one button.When user clicks on button a new form is open.

I want that when user select any value from dropdownlist then after click on button that value would display on other form…plz help me.

What is your view code? How did you implement it?

my view code is…

Maybe you should to use some Cform or CAvtiveForm for it:

<?php $form=$this->beginWidget('CActiveForm', array(



)); ?>

<?php echo $form->dropDownList($model,'visible',FormField::model()->findAll('select'=>'value, title'); ?>

<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>