john9210 Posted March 22, 2018 Posted March 22, 2018 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?
Lee Smith Posted March 22, 2018 Posted March 22, 2018 You can prevent modification, I would start with https://fmhelp.filemaker.com/help/16/fmp/en/#page/FMP_Help%2Fallowing-preventing-field-entry.html
Vishnu Yanala Posted February 6, 2020 Posted February 6, 2020 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 ?
comment Posted February 6, 2020 Posted February 6, 2020 (edited) 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 February 6, 2020 by comment
Vishnu Yanala Posted February 6, 2020 Posted February 6, 2020 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
comment Posted February 6, 2020 Posted February 6, 2020 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).
Vishnu Yanala Posted February 6, 2020 Posted February 6, 2020 (edited) 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. Edited February 7, 2020 by Vishnu Yanala
comment Posted February 6, 2020 Posted February 6, 2020 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.
Recommended Posts
This topic is 1762 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 accountSign in
Already have an account? Sign in here.
Sign In Now