Skip 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.

After OnObjectExit, how to move the insertion point to the same field

Featured Replies

  • Newbies

Hi,

I am new to FM. I have a field that will be used to capture scanned barcode. When the return key is received from the scanner, the OnObjectExit script will run. At the end of the script, I put the Go to field script, but it does not put the insertion point into the field so that I can scan the next barcode. How can I do automate this script to allow me to scan a barcode and run a script and then place the insertion point back in the field so that I can scan the next barcode.

Appreciate your help.

Thank you.

Besides explicitly scripting go to field, I think you will also have to end your script with Exit Script [ false ].

I use loops to control the validation and data entry points.

  • Author
  • Newbies

BruceR,

Thank you for your help.

I tried the exit script(false), it seems to work. However, after that, I can't seem to be able to quit or exit to layout mode.

Are there any scripts that I need to add?

  • Author
  • Newbies

IdealData,

Thanks for your suggestion of using the Loop.

Could u show me a sample of the script as to how I can do that. I am new to FM and any help I can get will be great.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.