On 4 ene, 02:13, thatsgreat2345 <[email protected]> wrote: > Use Ajax?
That's the alternative I have been thinking about, but I'm trying to avoid AJAX because of WCAG/WAI accessibility guidelines. > On Jan 3, 4:07 pm, Jaime <[email protected]> wrote: > > > Hi all, > > > I wonder if it's possible to have two different forms for two > > different (but related) models in the same page. > > > Imagine a page where the logged in user can edit his profile (model > > Profile) as well as to add a photo into his gallery (model Image). > > > <?php echo $form->create('Profile'); ?> > > ... > > > <?php echo $form->create('Image'); ?> > > ... > > > The problem here is that after submiting one of the forms, the user is > > redirected to /model/edit/, and not back to the current page. > > > I cannot imagine how to fit both forms in the same page without > > loosing the validationErrors info. > > > Any clue? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
