Hi,
why is it that when,
-
I select an option from my dropdown menu
-
input some strings at the input forms
-
tick some checkboxes
-
submit the form
when the data comes out, all of those 1,2,3 goes back to default mode
even though the pulled data is correct…Like, the dropdown doesn’t stick with what i selected, the checkboxes that i ticked doesn’t remain checked, the strings that I input doesn’t remain at the form
here’s my code
echo CHtml::beginForm(array('advancecvsearch','r'=>'wsrecruitcvhead/advancecvsearch'),$method='get');
echo "Date Posted: ".Chtml::activeDropDownList($model, 'DateCreated', $model->getTimeOptions())."<br />";
echo "Available to Work Sunday: ".CHtml::checkBox('sun', false)."<br />";
echo "Available to Work Monday: ".CHtml::checkBox('mon', false)."<br />";
echo "Available to Work Tuesday: ".CHtml::checkBox('tue', false)."<br />";
echo "Available to Work Wednesday: ".CHtml::checkBox('wed', false)."<br />";
echo "Available to Work Thursday: ". CHtml::checkBox('thurs', false)."<br />";
echo "Available to Work Friday: ". CHtml::checkBox('fri', false)."<br />";
echo "Available to work Saturday: ". CHtml::checkBox('sat', false). "<br />";
echo "Resume Title ".CHtml::textField('resumetitle','',array('id'=>'resumetitle'))."<br />";
echo "Resume Summary Introduction ".CHtml::textField('resumesummaryintroduction','',array('id'=>'resumetitle'))."<br />";
echo "Summary of Position Sought ".CHtml::textField('summaryofpositionsought','',array('id'=>'summaryofpositionsought'))."<br />";
echo "Summary of Skills ".CHtml::textField('summaryofskills','',array('id'=>'summaryofskills'))."<br />";
echo CHtml::submitButton('submit', array('value'=>'Search','name'=>'Search'));
echo CHtml::endForm();