You mean the fieldset?  That's by design.  There's no elegant override
afaik.

On May 20, 1:13 am, Brian Rojas <[EMAIL PROTECTED]> wrote:
> I use the $form->create method in 1.2 like so:
>
> <?php echo $form->create(null,array('url' => array('controller' =>
> 'pages', 'action' => 'contact'), 'id' => 'ContactMiniForm', 'default'
> => false, 'type' => 'post')) . "\n"; ?>
>
> and the outputted HTML includes a div set to 'display:none' :
>
> <form id="ContactMiniForm" method="post" action="/contact"
> onSubmit="event.returnValue = false; return false;"><fieldset
> style="display:none;"><input type="hidden" name="_method"
> value="POST" /></fieldset>
>
> does anyone know if there is a way to stop this from happening, i
> couldn't find anything about this in the api
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to