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.

Using a Button to Run a Password Script

Featured Replies

I would like a button on my startup layout that when clicked, brings up a password screen for anyone (within the company) to enter their password (just so we know who is logging in). If a password is incorrect or if a person hits escape I want to make sure that (if the solution is a script) that the person doesn't just bypass the password and go to the password protected layout. I think the script below works, but a person can hit "Esc" and then just click to continue script without typing a password.

Re-Login []

Go to Layout ["Work_Order_Entry" (Work_Order)]

Any ideas?

Greg

I haven't experimented with this, but check to see if an error code is returned when Escape is pressed.

Re-Login []

Show Custom Dialog [ "Error Code", "Get( LastError )" ]

If an error code is returned, check for that error code before continuing with the Go to Layout step.

Chuck

In your open script, add the script step "Allow user abort [off]" that way users cannot cancel the script - they will go to the password screen whether they like it or not.

BTW: If a user cancels an operation in FMP, the error code is "1".

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.