Also, if you want to populate your fields with Javascript, look for
form ID's that represent the model and field you're trying to find, so
if you're trying to edit the hidden "username" field in for the User
model, the field ID would be UserUsername, you could just use $
('UserUsername').value = '...' if you're using Prototype.
Remember when using the security component you must use the form
helper for all of your forms, most of the time this isn't a problem
because you can specify all kinds of information about your fields
quite easily with the form helper. I haven't come across any situation
yet where the form helper doesn't work correctly. Remember to start
forms with $form->create() and end them with $form->end().
On Mar 30, 2:22 pm, Miles J <mileswjohn...@gmail.com> wrote:
> It seems even if I use form helper, I still have the same problem.
>
> https://trac.cakephp.org/ticket/6254
--~--~---------~--~----~------------~-------~--~----~
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