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.

Password-required Delete Record Script

Featured Replies

I thought I had a good start on this then my brain fizzled out.

What I want to do is have a user, in a runtime solution, enter a password so that other users can't accidentally delete records; the password would be required before each record is deleted. (Yeah, I know I could make it a one-shot deal through an account privlege set-up, but trust me...the users need this kind of set-up.)

So, the problems I'd like to solve are...

1) How can the primary user enter a password (and be able to change it later, if he or she wanted to) without having to "hard code" it into a script...which a runtime user can't do.

2) I tried to enlarge the text in the user-defined message box using TextSize, but it doesn't seem to work, so is that a dead end, or...?

3) When a user decides to cancel deleting a record after FM asks if she or he wants it deleted, is there a more elegent way than clicking Cancel twice to exit the script?

Thanks in advance for your help--it always is MUCH appreciated!

Ciao,

Rich

Password.zip

See the sample i've attached. I sort of slacked off in the commenting, but nevertheless.

It basically utilizes globals, simple if statements, loops and custom dialogs.

passwordelete.zip

  • Author

Good heavens, man--I hope you didn't stay up all night working on this!

Thank you very, VERY much!

Well no, but i did spend 15 minutes of my precious precious time... actually i was bored :)

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.