Sunday, October 31, 2010

Re: need help with form

no the model is result....

The idea is that I have an action called person.... this action takes
url params to find results by the person. So I am trying to create a
form that will direct to that action with the params based on the
input from the form....

On Oct 31, 9:21 pm, cricket <zijn.digi...@gmail.com> wrote:
> On Sun, Oct 31, 2010 at 8:55 PM, Briko03 <nathanrlar...@gmail.com> wrote:
> > Does that mean that I can have a view that does not have a
> > corresponding action?
>
> > How would i get the form to use person and the values from the input?
>
> > Sorry for the newb questions...
>
> I don't understand the question, actually. By "person" do you mean the
> model? You can do:
>
> echo $this->Form->create('Person', array(...));

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: