NetTalk Central

Author Topic: Right way to leave a popup memory form from at button (no submit)  (Read 3645 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Hi

Can someone help me with how to leave a popup memory form from a button (not submit).

Regards Niels

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Right way to leave a popup memory form from at button (no submit)
« Reply #1 on: May 25, 2015, 10:37:40 PM »
Morning Niels,

define "leave" the popup.
As in "close the popup"? (and go back to the screen you can see underneath) or
go to another page in the app?

cheers
Bruce

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Right way to leave a popup memory form from at button (no submit)
« Reply #2 on: May 25, 2015, 10:57:55 PM »
Sorry - As in "close the popup"? (and go back to the screen you can see underneath)

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Right way to leave a popup memory form from at button (no submit)
« Reply #3 on: May 26, 2015, 12:13:26 AM »
in the server-side code for the button put

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

or, on the "OnClick" tab,
onClick [JavaScript] setting

'ntd.close();'

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Right way to leave a popup memory form from at button (no submit)
« Reply #4 on: May 26, 2015, 12:53:25 AM »
THANKS!!!