-2

I want to make "salutation" and "first name" fields mandatory in the account creation form.

I've added validation rules and it works but I can't see the asterisks and it's not intuitive for the users. I m looking for a way to make the asterisks visible (like lastname - see screenshot) enter image description here

PS : I am new in salesforce, could you please help ? Thanks.

  • 2
    Is this custom lightning component? – Dhanik Lal Sahni Jul 16 at 16:27
  • You have a validation rule which check if value in entered into that field or not before saving, you need to make that field "Required", that's when you see the asterisk mark. Hope this helps... – Raj Jul 16 at 16:32
  • 4
    You can make required in page-layout, if its standard UI or quick action – Pranay Jaiswal Jul 16 at 16:39
-1

You have a validation rule which check if value in entered into that field or not before saving, you need to make that field "Required", that's when you see the asterisk mark. Hope this helps...

Make the field required in the page layout OR through code like this below:

<apex:inputText value="{!Account.Salutation}" required="true" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.