Yes, you can do that. Just don't use FormHelper to create the element. Keep in mind, though, that the controller's $data array will not be populated as normally.
On Wed, Jun 24, 2009 at 9:05 AM, taufiq ridha<[email protected]> wrote: > > Hello All, > did it possible if we want to change conventions form fild name > for now we have this: > > <?php e($form->text('username', array('class' => 'fullwidth'))); ?> > > and will output > > <input type="text" id="UserUsername" value="" class="fullwidth" > name="data[User][username]"/> > > since i want to used flash for login view, it can be accesible if we > have field name with "data[User][username]", di it possible to change > this conventions like > > <input type="text" id="UserUsername" value="" class="fullwidth" > name="username"/> > > thanks for advice :D > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
