+ Start a Discussion
sfdeveloper12sfdeveloper12 

How to add account name field on new contact creation on contact lookup ?

Hello,

I am creating new contact on the lookup filed. But whenever i create new contact it does not asociate with any account. so contact gets stored without an account. I want to add account name field while contact creation. How to achive that?

Thanks,
Utkarsha
Dutta SouravDutta Sourav
Hi Utkarsha,

You can neither make a field Required, nor enforce Validation Rule on Quick Create. Page layout is also not available for you to edit.
Please Upvote this Idea:
https://success.salesforce.com/ideaview?id=08730000000IYRFAA4

I would recommend to Disable this option from:
 Setup > Customize > User Interface and uncheck the box for “Show Quick Create.”

Best Regards,
Sourav
NagendraNagendra (Salesforce Developers) 
Hi Utkarsha,

Unfortunately, this is not possible as of now.

May I suggest you please upvote for the below idea from the success community with a similar issue. For more information refer
to below thread. Hope this helps.

Mark this as solved if the information helps so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Thanks,
Nagendra
Varun SinghVarun Singh
Hi @ utkarsha you have to create vlaidation rule for contact account not  should be  null oacr making account filed required throuh validation
Then you will not facing this problem  on contact creation time

Method 1:create the validation for contact creation

User-added image

out put screen
User-added image
Method 2: make account required from page layout.

Open record detail page and click on edit layout
User-added image

output
User-added image

I Hope this is Helpful for  you.
Thanks
sfdeveloper12sfdeveloper12
hi Varun,

this will be on contact creation on contact object. I want it on contact lookup field
Varun SinghVarun Singh
HI @Utkarsha

For this  you have  to use  controoler and visual force page with java script .

Thnaks,
Varun
Varun SinghVarun Singh
Hi @utkarsha,

I suggest you please check for the below idea from the success community with a similar issue.
May be these are useful informaation for you

1-https://success.salesforce.com/answers?id=90630000000h1bSAAQ
2-https://success.salesforce.com/answers?id=90630000000h1HMAAY
3-https://success.salesforce.com/answers?id=90630000000govLAAQ
4-https://success.salesforce.com/ideaView?id=08730000000kyGoAAI
5-https://success.salesforce.com/ideaview?id=08730000000IYRFAA4
6-https://success.salesforce.com/ideaView?id=08730000000BpNf