Thanks, but I should have said that I'm creating form elements *not*
for a model.

On Wed, Jan 19, 2011 at 2:59 PM, euromark <dereurom...@googlemail.com> wrote:
> sry, i meant $this->Form->input() ^^
>
>
> On 19 Jan., 14:27, psybear83 <psybea...@gmail.com> 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
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php
>

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to