Added contact_html field in Lead DocType,and done entry in Lead and created New Contact but shows "No contact added yet"

I Created new custom field contact_html in lead Doctype, and created new lead and in address & contact added new address and new contact
In Contact -new contact created, but in Lead it shows “No contact added yet”
Please help

Mittal clothing, Bangalore

Hi @venkatesh

It’s because of the condition doc.doctype !=‘Lead’ in file

Thank u