you pass the session when you want to prevent double form submission. If you do this in an iframe I do not know in which order your frames are called and what else happens to this may not work.
Massimo On Jun 24, 12:41 am, "Sebastian E. Ovide" <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---

