Nope....

That renders:

<form id="settings/updateForm" action="/settings/update" method="post">

I have a custom controller action which uses 1 form and 1 action to allow a
user to update various sections. So rather than build multiple forms/actions
I use 1 which builds the form based on the section they choose to update and
is working fine....except I need to edit the form ID that gets generated
automaticaly, a user may choose to edit 2 or more sections at once and
loading the form with the same ID is certainly a no no

-----Original Message-----
From: thatsgreat2345 [mailto:[email protected]] 
Sent: June-16-09 6:04 PM
To: CakePHP
Subject: Re: Form help


<?php echo $form->create($model, array('type' => 'post',  'url' =>
'/update')); ?>

On Jun 16, 12:10 pm, "Dave Maharaj :: WidePixels.com"
<[email protected]> wrote:
> I have
> <?php echo $form->create($model, array('type' => 'post',  'action' => 
> '/update')); ?>
>
> which renders <form id="settings/updateForm" action="/settings/update"
> method="post">
>
> Is there a way to get it to look like this?
>
> <form id="settings_updateForm" action="update" method="post">
>
> Dave


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to