Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I've been searching the forums like heck to no avail.

Can some one point me how to Prohibit edit of a field if a value exists.

I thought it was as simple as checking the Validate existing value box in the Validation Tab but unfortunatly its not as simple as that.

Thanks

Posted

Typically, when someone has this request, we suggest setting the field's behavior to not allow Browse mode and putting an Edit button next to the field. The Edit button would run a script that would popup a layout that has the field(s) open for edit, providing the validation part of the script was true.

That is,

User clicks Edit

Script starts

//validation check

If (isempty (field))

gtrr in new window using layout Edit

else

//validation fails

Show Dialog "Sorry, you can't edit this field."

endif

You could also tie the allow edit to a priv set, such as Admin only by checking Get (PrivilegeSetName) = "Admin"

Posted

Perhaps. I don't use the Validation tab for something like this, because the interface options are hideous.

This topic is 5788 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.