Jump to content
john9210

Lock field

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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 

Share this post


Link to post
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).

Share this post


Link to post
Share on other sites

 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

Share this post


Link to post
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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Who Viewed the Topic

    1 member has viewed this topic:
    Anuj Kumar 
×
×
  • Create New...

Important Information

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