Monday, November 1, 2010

Re: not following naming conventions

you can use the dot syntax for other models than the one specific in
$this->Form->create():

$this->Form->input('OtherModel.other_model_field');
etc

On 1 Nov., 21:19, Almudena Garcia <garcia.fra...@gmail.com> wrote:
> Hi,
>
> here you can find some information about the validation...
>
> http://book.cakephp.org/view/125/Data-Validation
>
> <http://book.cakephp.org/view/125/Data-Validation>
>
> 2010/11/1 grandioso <something.like.a.phenome...@gmail.com>
>
>
>
>
>
>
>
> > Is there a way to also set which model should validate the data input
> > by the form ? It seems like it doesn't recognize my model.
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.c om>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: