Hi,

I'm trying to save two models from the same view of one of the models,
it works fine but I'm having one issue. The second model (the one that
doesn't correspond to the view nor the controller that has the add
method to save the records of both models) doesn't show the fields
that have a nonempty validation rule and are marked as required in
bold on the view, but the validation rules are validated ok, it's just
that they aren't being marked as required as the validation rules
says.

The fields of the other model ( the one that correspond to the view
and the controller) shows the required fields ok. I noticed that this
has to do with the model that is passed to the formHelper on the view
when the form is created. If I change the model to the second one then
it's fields are shown ok but the first model aren't.

So how can I make the fields of the second model be marked as required
(in bold) as the validation rules says like with the other model ?

I hope I'm being clear.


Thanks,

Juancho

--~--~---------~--~----~------------~-------~--~----~
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