hi, i have tested ur code and it is giving me output as bellow
<td> <select name="data[geburtsdatum_tag]" id="geburtsdatum_tag"> </select> </td> which showing that the name of <select> tag is not empty. this may ur misconception but it is working fine. ok bye On Jan 24, 2:12 pm, psybear83 <[email protected]> wrote: > Hey everybody > > I wish you all a good start into the new week. :-) > > Sadly the first thing I encountered after starting the PC today at my > workplace is a strange little problem. > > View: > <?php echo $this->Form->create(array('action' => 'detailangaben', > 'type' => 'get')); ?> > <fieldset> > <legend><?php __('Allgemeine Angaben'); ?></legend> > <div class="input date required"> > <label for="SimulationGeburtsdatumTag">Geburtsdatum</label><br /> > <?php echo $this->Form->select('geburtsdatum_tag', $tage, null, > array('empty' => false)); ?> > ... > > Result: > <form id="detailangabenForm" method="get" action="/simulation/ > detailangaben" accept-charset="utf-8"><fieldset> > <legend>Allgemeine Angaben</legend> > > <div class="input date required"> > <label for="SimulationGeburtsdatumTag">Geburtsdatum</label><br /> > <select name="" id="geburtsdatum_tag"> > <option value="1">1</option> > ... > <option value="31">31</option> > </select> > ... > > The problem: the <select> tag has an empty name! Which seems quite > strange to me, because its ID is populated correctly! Anyone has an > idea, why? I don't remember having made any changes to this code, and > on friday it still worked... > > Thanks, folks! :-) > 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
