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.

Field locking

Featured Replies

What is considered the best practice for locking a specific field on every record after being edited once? (But also have a NotEmpty AND Unique validation option)

In other words, I have a field which needs to be filled in every record, be unique and once validated not being accessible.

I suspect that setting another field to 1/0 by a script is a potential vulnerability if someone can access it, isn't it?

I was thinking of employing a OnRecordCommit script trigger to prevent commiting before editing once, and then comparing creation and modification timestamps.

What do you think?

I still think however, that if one gets access to the fields from another layout he could bypass it. Any ideas?

You'll need a record access rule that allows editing if the field is empty. I'd also provide a dialog before the commit, just in case the user wants to edit before being locked out. Often I give an admin priv set access to "unlock" the field/record.

  • Author

The solution is always simpler than I am thinking of. Great idea, thanks a lot bcooney,

I'll put it in rightaway.

:thanks:

  • 3 weeks later...

Would the record access if not empty lock out the ability to edit the entire record rather than just the single field?

  • Author

:thumbup: I think you're right.

Any ideas?

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.