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.

Lock field

Featured Replies

I have a field that when the user enters a value I want to protect against editing since the field is used in a relationship. Is there a way to do this?

  • 1 year later...

Hello,

Is there any chance to lock the field after the input is given ?

if browse mode is not chosen then we can't even give a value to that. Instead of that can we lock the field after the value is assigned ?

4 hours ago, Vishnu Yanala said:

can we lock the field after the value is assigned

There are several possible methods to consider (see for example https://fmforums.com/topic/99876-lock-script/?do=findComment&comment=454566). Please clarify why exactly you want to prohibit modification of the field and who would be permitted to override the prohibition and under what circumstances. Preferably in a new thread.

 

Edited by comment

To eradicate user error like changing the values. Basically making user only to view data but not allowed to change data in the field.And the only access to the admin user.

Thanks for your reply 

5 minutes ago, Vishnu Yanala said:

To eradicate user error like changing the values.

That's not a very clear description.

If you don't want users to modify the field, then don't give them access to it in their privilege set. You can still use a script running with full access to allow them to choose an initial value for the field.

However, if all you want to prevent is an accidental modification of the field, then just deny access to the field on the layout and supply a method to enter/modify the value through another instance of the field (e.g. in a different pane of a tab control).

 I got this fields where data need to Be entered. After data entered the fields should not be open/ editable for the user. But it just need to display the data.

 

8032BA13-EC7E-40A0-9092-C5F6B2BE77EF.jpeg

Edited by Vishnu Yanala

4 minutes ago, Vishnu Yanala said:

After data entered the fields should not be open/ editable for the user

Filemaker does not have a built-in mechanism for this (other than the one I described in the link above). You need to build your own. I am still not sure what the exact purpose is here, so I can't make a more specific recommendation.

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.