Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Event script problem

Featured Replies

hi everyone,

I am using eventscript. I have a pop up window to allow entry into a number of fields (more than a custom dialog box would allow) and a "done" button that closes the window. the fields have an eventscript attached to them. If the user tabs out of the fields the script triggers, but if the user changes a field and clicks on the done button without exiting the field, then the window closes and the script is run from the wrong layout. How can I either prevent the user from clicking the button while still in a field or work around it.

this is driving me nuts

Thanks in advance

Add a Commit Records/Requests step at the beginning of the Done script. If that doesn't work, try testing If [Get(ActiveFieldName)] and exiting/halting if true.

  • Author

Thanks for replying,

I had already tried the commit but the script still waited until the done script finished. The halt/exit option works but requires a double click on the done button, the first halts the script and runs the other then the second closes it. I don't see any other options so I quess a double click is it.

Thanks

You could also change the Done button to be linked to a simple Resume Script step and change the initial script to Pause/Resume to allow for data entry and then call the Done script. Then pressing Enter (on the number keypad) would perform the same function as clicking on the button.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.