function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vincent van Drunen LittelVincent van Drunen Littel 

Do not create Case (web-to-case) if Contact does not exist


Hi everyone!

I have a question about web-to-case. 

What I'm trying to do is using web-to-case for a small personal project, where I receive information from my web-to-case HTML. 
Now my problem is that Salesforce automatically creates a case even though the contact doesn't exist. I want to prevent this so no unneccesarry cases are created.

Has anyone has any ideas how i prevent Salesforce from creating cases when Contact records do not exist?

Would be a great help, and thank you in advance for the help!!

Vincent