Jump to content
Sign in to follow this  
jasonwood

Conditional field locking

Recommended Posts

Any tricks out there to conditionally lock specific fields (not entire records or layouts)?

Share this post


Link to post
Share on other sites

I don't know about tricks but security allows conditional restriction on fields. If you can provide an example, we can provide the logic on how to handle it. :-)

Share this post


Link to post
Share on other sites

For example, if field "Tracking_Number" is not empty, prohibit user from modifying fields "Weight", "Shipping Rate", and "Ship Date".

But they should still be allowed to edit/delete the tracking number, as well as other fields on the layout/in the record.

Security has the ability to use the calculation engine to control record and layout access, but when it comes to individual fields, it's just basically on or off as far as I can see...

I tried testing for "Get ( ActiveFieldName )" in the record edit rules, but it seems it only evaluates when you first enter the record (so you can just click in a permitted field first).

Share this post


Link to post
Share on other sites

you could use 2 different privilege sets to control which has edit access and read only. Another option may be to put those fields into its own table.

Share this post


Link to post
Share on other sites

Put the fields in a popup window controlled by a scripted Edit button. The button will only open the popup window if validation passes.

Share this post


Link to post
Share on other sites

Wouldn't it be cool if you could use the conditional formatting feature to override the "Field Entry" setting? (feature request sent!)

Share this post


Link to post
Share on other sites

You could turn the fields into buttons and use a script trigger to allow/disallow entry based on validation.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    AlesD 
×

Important Information

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