use Form->div('d', array('type'=>'select', 'options'=>$d))
On 19 Jan., 14:27, psybear83 <[email protected]> wrote:
> Hey everybody
>
> This is a very basic one, but I'm just not getting it, and it's
> beginning to drive me nuts.
>
> According to this 1.3 guide (http://book.cakephp.org/view/1566/View-
> and-Helpers), I sohuld use 'empty' in select so my <select> has no
> empty value.
>
> <?php echo $this->Form->select('dienstmodell', $dienstmodelle,
> array('empty' => false)); ?>
>
> Sadly this isn't working. And it's surprising that when I set it to
> true, it always selects the last option per default...
>
> Thank you for help :-)
> Josh
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php