NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: JohanR on July 26, 2024, 02:14:39 AM
-
Hi,
I have a memory form popup , coming from a browse.
Besides the Cross top right hand corner,
Is there a button I can place on the popup that will close/hide it?
And can I have embed code in that button to set some session variables?
This all seems familiar, might have asked this in an online user group, but cannot recall!
thanks
Johan
-
You can add a 'SAVE' button on the form and change the text to 'Close' or 'something' else and add code Post Update.
Memory forms are change mode by default.
-
Hi Vinnie
Thanks for that, does not seem to work on my side.
will try to understand why or try one of the examples
thanks
Johan
-
Maybe I have given you the wrong embed point but you should be able the Save the form as a Close.
You can hide the X close on the popup
-
Hi Vinnie
Thanks, but for now have just displayed a message, the user must hit the X to exit
I can sort out the cleanup code somewhere else.
When I have time will pursue at a later stage, as it will be better to give the user a dedicated CLOSE button with a message.
thanks
Johan
-
yo can create any button and then on click tab put 'ntd.close();' in GotFocusBack you can set variables or when open a form
-
Hi,
That is working quite nicely,
I have never used javascript functionality before, so took a few mins to figure out where.
see attached pic for correct place
Is there a doc somewhere with similar useful javascript items?
thanks!
Johan