Yeah, that's exactly how I started out but every time it only returns the submit. Eventually I hard coded the html just to make sure.
On May 19, 1:55 pm, Brett Wilton <bdwil...@gmail.com> wrote: > You can use something like this in your view (code snips):- > > <div class="button"> > <?php > echo $form->submit('Save', array('div'=>false, > 'name'=>'submit')); > echo $form->submit('Cancel', array('div'=>false, > 'name'=>'cancel')); > ?> > </div> > <?php echo $form->end(); ?> > > and in your controller :- > > if (array_key_exists('cancel', $this->params['form'])) { --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~----------~----~----~----~------~----~------~--~---