SOLUTION: It will blackhole if none of the radios are selected. Suppose that makes sense. So always assign a default.
Cheers On Jun 24, 11:59 am, lazlo2019 <[email protected]> wrote: > Hi guys > > Quick question. Any ideas why this: > > $io = array('error' => false); // input options > $genders = array('m' => 'Male', 'f' => 'Female'); > > echo $form->input('gender', $io + array('type' => 'radio', 'options' > => $genders, 'legend' => false, 'before' => 'Gender')); > > should cause a form to blackhole? I'm using the form helper > throughout. Removing that field, and the form works. > > I notice Cake is outputting <input type="hidden" name="data[_Member] > [gender]" value="" id="MemberGender_" /> automatically. Could this > have anythig to do with it? Either way, I can't prevent it. > > Version is 1.2.3.8166 > > Cheers! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
