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.

Find with return key

Featured Replies

Hello,

Is there a way to control which layout a user is taken to after they hit the "return" key to trigger their find?

I know I can take a user to a search screen and give them a "Find Now" button after they enter their search criteria, but if they hit the return key instead, how can I deal with that?

Thanks

Dave

You could script the find, and have the script pause in find mode to allow search criteria to be entered. When the user hits return, the script will resume and the user can be taken to the appropriate layout.

Dana

  • Author

Maybe, I'm totally missing something, but that doesn't work, here's

what I've tried...

Dave

Enter Find Mode [Pause]

If ["Order Status = "Entered""]

Go to ["Primary"]

Else

Go to ["Primary Locked"]

End If

Is Order Status the field being entered in Find mode? If not, you're not completing the find and it would (I think) go to the Else part of your If every time, since Order Status would be empty in Find mode. You need to add Perform Find [ ] after the pause, so that you're in Browse mode and can go to the appropriate layout.

  • Author

OK, I see now. Like this:

Pause/Resume Script []

Perform Find [Replace Found Set]

Enter Find Mode []

If ["Order Status = "Entered""]

Go to ["Primary"]

Else

Go to ["Primary Locked"]

End If

More like

Enter Find Mode [Pause]

Perform Find [Replace Found Set]

If ["Order Status = "Entered""]

Go to ["Primary"]

Else

Go to ["Primary Locked"]

End If

Again, after you enter find mode, no fields have data in them except globals. So testing if Order Status = "Entered" will always fail.

-Queue- said:

Errant Pronoun Propagation Annihilator Extraordinaire

... and Script Sequencing Director.

smile.gif

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.