Hi I will try to describe my problem better:

I have database tables addresses and user so i have two models User
and Address.
User haveone malingaddress (class Address) and billaddress (class
Address) this is definate in model User.
How is registration form where are inputs for information about user
some: User.name, User.phone ...
And inputs for Mailing and billing address: Mailingaddress.street,....
Billingaddress.street....

-- now i want before save this data to database valid inputs with
validations rules from model Address, source:

....
$this->Address->create($this->data['Maillingaddress']);
if($this->Address->validate()$this->data['Maillingaddress']){
    $this->Address->save($this->data['Maillingaddress']);
}
And now when data arent valid a want show errors in form, but Form
helper get errors for inputs in form from model and data model name
isnt some as name input form:
Address.street != Mallingaddress.street

Is any way how a cane prepare this errors and send to helper?

Have you understand?

On 15 srp, 10:10, "rez...@gmail.com" <rez...@gmail.com> wrote:
> what's meant of redirect this errors for concrete input or group
> inputs ?
> really I want to help you
> Sorry , I can't understand what you want

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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