Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Multiple model validations

#5

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.

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

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

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.