Hi again gang!

I stumbled upon a neat article about using HTML button elements, as
opposed to input elements that happen to be buttons:

http://particletree.com/features/rediscovering-the-button-element/

I think it'd be really neat to get the form helper to generate these.
However, when I try to do it using either $form->input('foo',
array('type' => 'button')); or $form->button('foo'); , it makes an
input element with a type attribute of button, rather than making an
actual button element.

Echoing out the raw HTML just before $form->end(); works just fine,
but I'm always wary of going over Cake's head, so I was wondering if
there was a way to do it properly.

Sorry if I'm missing something obvious, but is there a way to get the
form helper to generate button elements?

Thanks again everyone,
Zoe.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to