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.

Is there a way to lock a layout after info input?

Featured Replies

Hello

I would like to have a layout that is used to input information that can only be put in once.

After the information is entered and proven to be correct through a dialog. I would like the layout and those fields to be locked out and only then -is this possible ?

Thanks

STAN

FileMaker Version: 7

Platform: Mac OS X Panther

You could script the data input by having the user enter data into globals which would then be used to create a new record in a script which runs with full access. After the record is created, users will not be able to edit it because you would only grant read access to those fields.

Is this what you're aiming for?

Another approach:

You can create 2 identical layouts. The first allows input in the fields, the second has all fields set to not allow input. Create a global field gInputAllowed and initially set the field to "YES". When the user has completed input and it is verified, set gInputAllowed to "NO". In your script to that screen, send the user to screen1 if gInputAllowed="YES", otherwise send the user to screen2.

  • Author

Both solutions are good But will anything lock the user out of the input layout once and for all even by scrolling in the toolbar?

Stan

For Ellen's solution, you just control access to layouts by only allowing navigation to them via scripts. (The input layout would not appear in the layout list menu)

For my approach, the creation of the new record is controlled via a script, so you could have the script logic controlled by the data input to the globals. (If there is already a record with the information you specify, the script will not create another record) You could also add show message or show custom dialog steps to inform the user of what the script is doing.

Dana

Check out John Mark Osborne's site and search for the "Visibility" technique. You can set a field, when the data is validated, that toggles the validity of a relationship and, via portals, lock entry to fields.

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.