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.

Leaving a field

Featured Replies

  • Author

(Using FM 6, multi-platform)

This is one of those odd obvious questions that either has a simple answer, or is impossible.

I need to script leaving a field. Or, script the action that happens when you click a layout's background, the last field visited is "deselected."

I have a script that does some stuff, then enters a field to copy the contents to clipboard. It works, but it leaves the user "in" that field, which is highlighted. This field is normally flagged to not allow entry, so at that point entry is possible anyway. Besides, it looks untidy.

Is there any way to end this script at rest, with no fields selected?

Steve Brown

(Using FM 6, multi-platform)

This is one of those odd obvious questions that either has a simple answer, or is impossible.

I need to script leaving a field. Or, script the action that happens when you click a layout's background, the last field visited is "deselected."

I have a script that does some stuff, then enters a field to copy the contents to clipboard. It works, but it leaves the user "in" that field, which is highlighted. This field is normally flagged to not allow entry, so at that point entry is possible anyway. Besides, it looks untidy.

Is there any way to end this script at rest, with no fields selected?

Steve Brown

  • Author

(Using FM 6, multi-platform)

This is one of those odd obvious questions that either has a simple answer, or is impossible.

I need to script leaving a field. Or, script the action that happens when you click a layout's background, the last field visited is "deselected."

I have a script that does some stuff, then enters a field to copy the contents to clipboard. It works, but it leaves the user "in" that field, which is highlighted. This field is normally flagged to not allow entry, so at that point entry is possible anyway. Besides, it looks untidy.

Is there any way to end this script at rest, with no fields selected?

Steve Brown

Exit Record/Request script step ?

Exit Record/Request script step ?

Exit Record/Request script step ?

  • Author

Exactly! Works like a charm.

I would have hought of that because I knew I didn't want to leave the record, and I would have thought the "request" was for find mode. Maybe I'm just too literal-minded.

thanks,

Steve Brown

  • Author

Exactly! Works like a charm.

I would have hought of that because I knew I didn't want to leave the record, and I would have thought the "request" was for find mode. Maybe I'm just too literal-minded.

thanks,

Steve Brown

  • Author

Exactly! Works like a charm.

I would have hought of that because I knew I didn't want to leave the record, and I would have thought the "request" was for find mode. Maybe I'm just too literal-minded.

thanks,

Steve Brown

Steve said ...I would have thought the "request" was for find mode.

Script steps such as ...

Exit Record/Request

New Record/Request

Duplicate Record/Request

Delete Record/Request

... and others, are multi-purpose depending upon mode. New Record/Request would create a new record in Browse but would create a new find request while in Find mode.

The slash tells you it's a multi-purpose script step. wink.gif

LaRetta

Steve said ...I would have thought the "request" was for find mode.

Script steps such as ...

Exit Record/Request

New Record/Request

Duplicate Record/Request

Delete Record/Request

... and others, are multi-purpose depending upon mode. New Record/Request would create a new record in Browse but would create a new find request while in Find mode.

The slash tells you it's a multi-purpose script step. wink.gif

LaRetta

Steve said ...I would have thought the "request" was for find mode.

Script steps such as ...

Exit Record/Request

New Record/Request

Duplicate Record/Request

Delete Record/Request

... and others, are multi-purpose depending upon mode. New Record/Request would create a new record in Browse but would create a new find request while in Find mode.

The slash tells you it's a multi-purpose script step. wink.gif

LaRetta

Another way (I think) is to use the Goto Field script step but don't specify a field. Just leave it blank. I believe that takes the cursor out of all fields.

Another way (I think) is to use the Goto Field script step but don't specify a field. Just leave it blank. I believe that takes the cursor out of all fields.

Another way (I think) is to use the Goto Field script step but don't specify a field. Just leave it blank. I believe that takes the cursor out of all fields.

That worked in FMP 6 and earlier, but I'd consider this to be a dodgy practice in FMP 7. Instead I'd be explicitly calling the Exit Record/Request equivilent (can't for the life of me remember what the step is called!)

That worked in FMP 6 and earlier, but I'd consider this to be a dodgy practice in FMP 7. Instead I'd be explicitly calling the Exit Record/Request equivilent (can't for the life of me remember what the step is called!)

That worked in FMP 6 and earlier, but I'd consider this to be a dodgy practice in FMP 7. Instead I'd be explicitly calling the Exit Record/Request equivilent (can't for the life of me remember what the step is called!)

How about Commit Records/Requests

Lee

smirk.gif

How about Commit Records/Requests

Lee

smirk.gif

How about Commit Records/Requests

Lee

smirk.gif

Is there any way to end this script at rest, with no fields selected?

At the end of this script put script step:

Go to field Your field select contents.

Is there any way to end this script at rest, with no fields selected?

At the end of this script put script step:

Go to field Your field select contents.

Is there any way to end this script at rest, with no fields selected?

At the end of this script put script step:

Go to field Your field select contents.

How does going to the field, selecting contents exit the field?

Lee confused.gif

How does going to the field, selecting contents exit the field?

Lee confused.gif

How does going to the field, selecting contents exit the field?

Lee confused.gif

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.