Jump to content
Server Maintenance This Week. ×

Lock field


This topic is 1540 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • 1 year later...
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
Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

This topic is 1540 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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