The only reason your data would be getting reset, would be that you've
done a find again before the form is redisplayed.

Could you post the code for your edit so we can see what you're
doing ?

On Jan 14, 11:45 pm, Miles J <[email protected]> wrote:
> So Im working on this area where users can edit their profile, etc.
> All the validation works, its just on the email field it always errors
> because I am using the isUnique rule.
>
> It keeps erroring because the email in the input is THEIR email, and
> it does exist in the database. So it keeps throwing the isUnique error
> "This email is already in use.". Is there a way I can get this
> working, while keeping the input email field populated?
>
> ---
>
> Also my form is prepopulated doing: array('value' => $user['User']
> ['value']). But when I make changes and hit submit, and an error
> occurs, the fields go back to the $user value and not the value they
> just did. A way around this as well?
--~--~---------~--~----~------------~-------~--~----~
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