Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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

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 ?

Posted (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 by comment
Posted

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 

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

Posted (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.

 

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

Edited by Vishnu Yanala
Posted
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.

 

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