Thank you, that did it. McS

On Feb 13, 3:05 pm, Tilen Majerle <[email protected]> wrote:
> if (isset($this->request->data['Submit'])) {}
> or
> if (isset($this->request->data['Cancel'])) {}
>
> --
> Lep pozdrav, Tilen Majerlehttp://majerle.eu
>
> 2012/2/13 McScreech <[email protected]>
>
>
>
>
>
>
>
> > PHP 5.3.3, CakePHP 2.0.6
>
> > echo $this->Form->submit('Submit', array('div'=>false,
> > 'name'=>'Submit' ));
> > echo $this->Form->submit('Cancel', array('div'=>false,
> > 'name'=>'Cancel' ));
>
> > If I code multiple buttons on my form as above, how do I detect when
> > the Cancel button is pressed?
>
> > McS
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group
> > athttp://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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to