Re: Prepopulating select menus

2009-07-12 Thread Dr. Loboto
Did you check generated HTML code or only look at page? In second case your browser can remember some old state of select box. On Jul 13, 5:22 am, "eric.winch...@gmail.com" wrote: > $form->input('User.some_option_id', array('type'=>'select', 'options'=> > $sharing_levels, 'label'=>false, 'div'=>

Prepopulating select menus

2009-07-12 Thread eric.winch...@gmail.com
$form->input('User.some_option_id', array('type'=>'select', 'options'=> $sharing_levels, 'label'=>false, 'div'=>false)); I can verify $this->data['User']['some_option_id'] has a value, but the select menu does not use it for SELECTED. I realize there is a "selected" option but is the standard to