Try this: if form.accepts(....): return HTML(BODY(SCRIPT('window.close()'))).xml ()
On Dec 18, 8:24 am, "richard.ree" <richard.h....@gmail.com> wrote: > Can anyone suggest how I can close a popup window that shows a > SQLFORM, after a successful form.accepts()? Thanks in advance, > > -Rick --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---