NetTalk Central

Author Topic: Popup Form from popup Browse  (Read 2786 times)

Mark Sarson

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
Popup Form from popup Browse
« on: April 15, 2011, 05:41:14 AM »
Hi, if I have a popup browse, and then change the record which opens a popup form, is there anyway, when pressing save on the form to be able to close both popups?

The change button is on the rows of the browse, rather than at the bottom of the window, if that makes any difference.

Cheers

Mark

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Popup Form from popup Browse
« Reply #1 on: April 15, 2011, 06:01:06 AM »
there's no really easy way to do it.

I think what we need is an embed (another stage!) in the form which is called when a form "regains" focus. In that embed you'd put something like;

p_web.script('ntd.pop();')

if you put in some debugging now you may be able to put it in an existing embed point.

cheers
Bruce