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<taufiq.ridha@gmail.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment