WebDirect Pop-Up Menu with Script Trigger Retriggers Script in Loop
13 Advanced v2
Windows 7 Pro
WebDirect Only: A Popup Menu with 3 choices triggering a script OnObjectSave retriggers itself into an infinite loop, locking the server and shutting down the WebDirect process.
A Popup Menu with 3 choices displaying values from a second text field (primary field is numeric 1, 2 or 3). Script Trigger OnObjectSave calls a script that (for value 2 or 3) opens a PopOver by doing a GoTo Object (field on Popover; Going to Popover Object Name works on desktop client but not WebDirect). It opens if you actually GoTo Object [Popover Field Object Name]. If value 1 is selected, the script just does an Exit Script command. For values 2 or 3 it works as planned. If value 1 (Exit Script) is selected, the script gets continuously retriggered in an infinite loop which locks up the server. This code works fine with the desktop client.
Script exits with no retrigger
Script continuously retriggers itself locking the server
Added script step to GoTo Object on the selection of the 1st item sending focus to a field on the screen.
Thank you for your post.
It's difficult to determine what is the cause based on your description. If possible, I'd like to see a copy/clone of the file so I can determine the cause of the non-ending loop. Please check your Inbox at the top of this page for instructions where to send the file.