NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on July 09, 2016, 01:03:18 AM
-
Hi
How to identify the browse that initiate the call?
I need to use it in relation to initiation the form - priming variables.
Any ideas?
Regards Niels
-
Hi Niels,
There's a local var - loc:parent - in all netwebform procedures. I don't recall having used it myself but maybe worth investigating.
Updated: it turns out that I did use it, but that was "the other way around". I use it in a browse procedure to determine which form called the browse. loc:parent holds the procedure name!
Peter
-
Thanks for the tip.
I will try.
I forgot to mention that both the form and browse is popup. Do not know if it makes a difference .
-
Hi Peter
Didn't work :-(
Maybe because I have a form with a memory form with 3 browses calling the same form.
One way could be to put a .click javascript on the insert button, but the insert_btn id changes on every compile, Any way to make the insert button id static?
Regards Niels