#5 new

Multiple model validations

Reported by asbestospiping | February 1st, 2011 @ 07:55 AM

I am trying to use the wizard with a form with multiple models. I have the wizard in model1, which is linked to model2, yet only model1 gets validated, model2 always validates as true, even when it should fail.

I am using $this->Model1->Model2->validates() to do the check

and in my view the forms are constructed with model2.0.field1.

The validations works fine when not using the wizard component, but I cant seem to work out what I am doing wrong.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket