You need to sign in to do that
Don't have an account?
How to populate web to case contact name field
I am using Web to case HTML on my VF page.
When a logged-in user submits that form a case is initiated automatically.
But the fields on Case "Account Name" and "Contact Name" is not populating.
I want to populate "Contact Name" field with the logged-in user who submits the case from VF page.
i have populated the "Web Email" field already.
When a logged-in user submits that form a case is initiated automatically.
But the fields on Case "Account Name" and "Contact Name" is not populating.
I want to populate "Contact Name" field with the logged-in user who submits the case from VF page.
i have populated the "Web Email" field already.
All Answers
https://developer.salesforce.com/forums/?id=906F0000000g09HIAQ
https://success.salesforce.com/answers?id=90630000000hvfHAAQ
The contact name will be populated automatically if Contact is Existing with the "Web Email" into Salesforce otherwise it will be blank. If you wanted to populate the contact that is not existing then you have to do some customization using apex trigger.
Refer below link
https://developer.salesforce.com/page/Autocreating_Contacts_From_Web_To_Case
Regards,
Amit