Reggie,
I use the following:
echo $html->Submit('Cancel', array('onclick' => 'window.close(); return
false;'));
or basically another form of that is what I use. This is a way to do it
only using the default HTML helper.
-A
Reggie wrote:
> I would like to create a Cancel button that doesn't do anything in a
> form. I plan on using it to close the form at 'onclick'. The only
> button I see in Cakephp is using $html->submit which calls the
> controller method, and is not what I want.
> I'm pretty sure it's safe to say I'm missing something simple here, but
> I can't find it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---