AnsweredAssumed Answered

WebDirect Pop-Up Menu with Script Trigger Retriggers Script in Loop

Question asked by fred@kca-inc.com on Aug 6, 2014
Latest reply on Aug 7, 2014 by TSGal

Summary

WebDirect Pop-Up Menu with Script Trigger Retriggers Script in Loop

Product

FileMaker Pro

Version

13 Advanced v2

Operating system version

Windows 7 Pro

Description of the issue

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.

Steps to reproduce the problem

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.

Expected result

Script exits with no retrigger

Actual result

Script continuously retriggers itself locking the server

Exact text of any error message(s) that appear

N/A

Configuration information

WebDirect Only

Workaround

Added script step to GoTo Object on the selection of the 1st item sending focus to a field on the screen.

Outcomes