This question already has an answer here:
- Web to lead form error message 2 answers
I have a
web-to-lead html form (generated form standard Salesforce functionality) and a duplicate rule.
I want to display a success and error message that whether lead is created or not after clicking on submit.