Monday, January 26, 2009

Re: Closing $ajax->form()

So what is the point/usage of $ajax->submit() then if it does not
actually submit the form created with $ajax->form() ?

On Jan 23, 8:05 am, Mono <sirmonit...@gmail.com> wrote:
> When u use the ajax->form, the only difference with a normal form is
> the first line.
>
> Normal Form:
>
> $form->create (...)
>   $form->input (....)
>   $form->input (....)
> $form->end ('Send')
>
> Ajax Form:
>
> $ajax->form (...)
>   $form->input (....)
>   $form->input (....)
> $form->end ('Send')
>
> On 22 Jan., 22:47, Pyrite <thelette...@gmail.com> wrote:
>
>
>
> > How do you put the close tag in a form created by $ajax->form() ?? Why
> > is there not an $ajax->formEnd() similar to the FormHelper's $form->end
> > () ?
>
> > Also, when I create a form with $ajax->form(), and I add a submit with
> > $ajax->submit(), it does not submit the form. A usage example would be
> > great. I can only get it to submit the form if I use $form->end
> > ('Submit') instead of $ajax->submit().- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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: