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.

Read contents of a global field.

Featured Replies

I am developing a cross platform solution that will have a series of global fields which will be assigned a button function. What I want to happen is that when the button is clicked, the contents of the field are copied to the clipboard. Easy with a separate script for each button. I would like a single script that "reads" the contents of the field that is clicked. Any ideas?

[This message has been edited by esteshk (edited February 28, 2001).]

What you have here is not a FM problem, but a logical inconsistency. SOMETHING has to indicate what button was clicked. If you can determine which button was clicked by the contents of the fields, just put a bunch of If() tests in your script, one for each button position. There is no way I know of to "read" a cursor position or such from a FM script.

Sounds like a case where you need to tell us what (at a higher level) you are trying to accomplish. You may have to rethink the whole process. -bd

Here's a pretty simplistic method that works, is not very elegant, but I use all the time:

Each button calls a 2 line script. Line 1

does a Set Field to a field called "Which Button" that sets the button name. The next line calls the processing routine that just tests "Which Button"

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.