title: two form elements and then post data to another page in yii
body: <pre><code>CHtml::form(); 
        echo CHtml::activeDropDownList($model,'imei', $model-&gt;getCategories(),
         array('prompt' =&gt; 'Select Employe',
            'submit'=&gt;'/mobitracker/index.php?r=details/pathmap',
  
              'params'=&gt;array('imei'=&gt;'js: $(this).val()'), 
  )); 
  CHtml::endForm();
  </code></pre>
  
  <p>When a user selects a item am submitting it to another page and processing there. </p>
  
  <p>but now I need another data also to be sent, i.e date am using DJui datepicker widget</p>
  
  <pre><code>$this-&gt;widget('zii.widgets.jui.CJuiDatePicker', array(
      'name' =&gt; 'date_from',
      'value' =&gt; $fromDateValue,
      'htmlOptions' =&gt; array(
          'size' =&gt; '10',         // textField size
          'maxlength' =&gt; '10',    // textField maxlength
      ),
  ));
  </code></pre>
  
  <p>So once a user selects a employee and then selects a date I need data to be submitted.</p>
  
  <p>How can I accomplish this using yii? </p>
  
  <p>Thanks in advance.</p>
  
  <p>Note: Am using PHP yii framework</p>