+ Start a Discussion

How do I make the first name mandatory in Contact?

I want to make the first name field mandatory for a contact. As this is not an out of the box option with Salesforce, is there any way that I can set this up without creating a validation rule?







Without validation rule it is not possible to make the first name as mandatory field. You can create a custom page for contact and apply the javascript validation.


Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 


You can put the check for FIrstName in a before insert trigger and use addError to show the error message, It could be a way of validation.