I s there any reason you need this a seprate forms and not just use one form?
On Feb 26, 1:35 pm, brian <[email protected]> wrote: > You need to add a javascript onclick handler for the button that would > then submit each form asynchronously. There are a number of ways to do > this, including serialising the data from each form and posting > separately, or using jquery's form plugin, for instance. > > As for how you'll "call the view" I'm not sure, what you mean. Each > controller action will have its own view. But, since you'll need to > use AJAX in order to submit 3 forms simultaneously, you can simply > update the current page with the output from each of the actions. I > suppose Cake's AjaxHelper could take care of pretty much all of the > heavy lifting for you, but I don't use it so I can't give you any more > direction than that. > > On Thu, Feb 26, 2009 at 12:22 PM, keogh <[email protected]> wrote: > > > Hi, > > > I have 3 separately forms in the same view, each with its own submit > > button, what I want is to put one button that submits all the 3 forms > > to its respectively controllers then I call the view where the 3 forms > > are. Is there a way to do this with CakePHP? Is there any advice that > > you can give me? > > > Any suggest and/or advice will be appreciate. Thanks in advance > > > Regards, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
