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.

lock records

Featured Replies

how i can make a script, that after entering data of all fields in a record , the fields locks and becoming nonmodifecable and new record started

The simple answer would be to have a button with a script attached to it that checks for any empty fields, exiting the script with an appropriate message if it finds the record to be incomplete.

Finally the script would add a new record. This will display a new blank set of fields (new record) and so your last record will in fact not be modifiable at that stage cos you can't see it.

You will of course have to strictly control the users navigation so that they can never get to a layout that allows them to modify any field other than during data entry.

You could also create a field 'locked' and set it to 'x' within the script but I cannot see the point in doing that if ALL the records are to be locked as your question suggested.

That then begs the question 'Are you sure you want to lock ALL your records under all circumstances?'

Phil

  • Author

what u said it sounds good, but how to do it, i don't know how to write the script and other steps to do, and i want to lock all fields after data entry, so it can't be modified later

needs help

Hi manar

this is an example that answers your question.

It uses "privilege Set".

You can take this as a starting point.

LockRecords.zip

  • Author

thank u Mr Raybaudi , u r a life saver and problem solver

  • 2 months later...

I can not get into the Script to see how this works so I may do something like this also... any help would be great

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.