I do not want to save the data, I want just if user has entered any
valid data, the valid data should not be entered again, they should
remain in the input box and invalid field will be blank with error
massage. Now he has to entry all the data again.

On Mar 13, 1:33 pm, ShuXun Liu <liushu...@gmail.com> wrote:
> Try use the third param in Save action.
> like this:
>
> $this->User->save(   $this->data,  // make sure there is a "id" in data
> array
>    true,
>    array('email') //just save email
> )
>
> 2009/3/13 kaushik <kaushikwo...@gmail.com>
>
>
>
> > I have validate different field using cakephp's in-bulit validation
> > system. but now problem is that the system does not persist all the
> > values even if they are valid, e.g in a form, i have to give name,
> > email, state, and the value given in email is not valid, but other
> > values given in the field is valid. But when the system is reloading
> > the form with the error massage, all the fields are blanks. I want to
> > persist the valid values so that the user has to enter just invalid
> > data.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to