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.

Performing script by exiting field

Featured Replies

This has probably been asked

I am new to forum and have been looking for an answer for two days

Is there a way of starting a script when you exit from a field (rather the pushing a button)

Thanks

You need a plug-in like Eventscript or scriptfire. Do a search for either on this forum and you should be able to find out more about them.

Edited by Guest

But it's also relevant to investigate if you really need this kind of functionality?

What is the task at hand??

--sd

Starting a script by exiting a field rather than pushing a button doesn't save you anything. One click is one click.

You could have the script act immediately upon entering the data IF you enter the data by script. For example, in leu of a value list popup, you click the field-button to scroll through choices, or use scrollers, etc.

  • Author

Thanks for your replies

The best example I can think of as a use is:

Entering names of people and you want to check for duplicates. after date of birth is entered, as you exit the field a script could run and automatically find if there are any people with the same name and date of birth

Entering names of people and you want to check for duplicates.

If the combo Name/birthday proves to be unique enough, could it instead be done with relations and some layout trickery. Since you're with fm8.5 why not go the whole nine yards?? There are some buttons on the layout, but you could operate the functionality entirely by memorizing the shortcuts instead.

I establish the relation via two global fields as primary keys, where I allow creation of related record. So if you in the globals type in a brand new combination will previous data clearly not exists - opposite if the combination makes a match, will your data pull in the previously entered, which you can tab into.

--sd

uniqueness.zip

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.