You need to sign in to do that
Don't have an account?
Custom List New button validation prevent creation based on master record field value
I can and have set up validation on the detail record that prevents it from saving if its master record is not at a particular status; however, I would prefer that the New button on the related list be either hidden or return an alert based on master record status.
Ex.
Projects - master with action items - detail
New Action item should not be created unless project is approved. I can prevent action item creation with object validation, but from a user perspective, it makes more sense if the button on the related list is hidden until project=approved, or if clicking New returns an alert that master status must be xxx.
Can this be done with custom button using formula?
Or will it require javascript or a trigger?
Thank you.