Thanks, not passing session to accept made the trick !
when should be session be passed to accept? Sebastian E. Ovide On Wed, Jun 24, 2009 at 1:06 PM, mdipierro <[email protected]> wrote: > > Hard to say without the details. I suggest setting formname=None and > not passing session to accept. > > Massimo > > On Jun 23, 11:49 pm, "Sebastian E. Ovide" <[email protected]> > wrote: > > in the same page there are more IFrames with the same form inside an > JQuery > > accordion... > > > > I have got an improvement adding formname="default%"%id > > > > now I can work on different forms... on the same page (using IFrames) but > > the first time that I submit a form is sill NOT working... (The problem > > happens only 1 time) > > > > ideas ? > > > > Sebastian E. Ovide > > > > On Wed, Jun 24, 2009 at 12:15 PM, Sebastian E. Ovide < > > > > [email protected]> wrote: > > > Hi > > > > > I have a function serving a form (for updates) that is working > perfectly. > > > Nevertheless it doesn't work correctly if it is included inside another > page > > > as an IFrame. > > > > > The first time that I press submit, form.accept returns false, an > therefore > > > the controller doesn't update the db. After that it starts working > again.... > > > therefore if I press submit again.. it accepts the values... errors is > > > empty. > > > > > any idea ? > > > > > I've debugged to see the values of request.vars... and they are fine... > > > > > Sebastian E. Ovide > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

