How can I set the default for a Dropdown (created using the Form Helper) by using the Form_validatio
- by Shamoon
In my view, I have:
$form_prop = 'class="inp_step" id="bedrooms"';
echo form_dropdown( "bedrooms", array( null, 0,1,2,3,4,5,6,7,8,9,10), null, $form_prop );
So how do I stick a
<?php echo $this->validation->set_select('myselect', 'one'); ?>
in there?