You need to sign in to do that
Don't have an account?
Nish321
Limiting the ability to add related list items
How do I restrict the user to add multiple related list items? As per the requirement, User should not be able to add more than one related list item. Any suggestions on this would be appreciated.
Thanks,
Ramshah
Thanks,
Ramshah
Method 1: If its a master-detail relationship, add a rollup summary field to "count" related list items. Then place a validation rule / java script on custom button that throws an error when related list item count > 1.
Also possible you can use:
Method 2: Could write a trigger that checks the count of related list items and throws an error if count > 1
Hope this helps!
Best,
Viral S.
Best,
Viral S.