This has been discussed here before, look for the thread.
If my memory is good, it was needed for validating as XHTML Strict and
solution was to edit the source code of the helper.
On Tue, May 20, 2008 at 2: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 [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?hl=en
-~----------~----~----~----~------~----~------~--~---