How can a beforeSave field trigger be made that shows users contact Join-fields are mandatory
I am trying to show users that the join-fields which cannot be given an asterisk are mandatory when an opportunity status = WON
Our users have indicated that it sometimes happens that a primary contact phone number was not set and that its inclusion on the opportunity as a mandatory field is not shown correctly. As a result, once they fill in all the data and try to save they have to leave the opportunity (having to re-fill the data later) to fix the contact's phone number. As such, we want to show a beforesave "Error: A selection is required" prompt on those mandatory fields.