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.

locking field data after printing

Featured Replies

I am trying to find a better way of protecting information in fields after it is printed.

Various fields must be cast in stone after the record has been printed, I am hoping to write a script which will action the usual print stuff then prevent certain fields from been changed.

I hope this makes sense

There are a few ways to approach this, but perhaps the simplest and most efective is to use the record level access privilages which became available in v5.5

To achieve this, what I suggest you consider is creating a checkbox field called 'RecordPrinted', into which a value is entered by the script which prints the record. Then also set up all users' passwords with record level access restriction on both editing and deleting using a formula along the lines of:

Case(IsEmpty(RecordPrinted), 1, 0)

That way, a record will be fully accessible for browsing, editing or deletion up until the point when it is recorded as having been printed. From that time on the record will not be modifiable nor deletable (except with a password you haven't applied the restrictions to - eg a master password) - but all other records will still be editable.

  • Author

I've set it up that way for the time being, thanks for that, but there are only some fields which i need to lock, not the entire record.

I think i've worked it out, by using the validate by calculation, and applying the case formula to that.

Seems to work .

Thanks

Yes, that's the answer - access control for whole records, validation calculations for individual fields.

Cheers,

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.