You need to sign in to do that
Don't have an account?
Web2Lead : dealing with error message
I have a Web2Lead form and on the SFDC side I have a trigger that prevents duplicate leads from being inserted (based on email address, lead source, and date). In SFDC, when I create a duplicate, the addError message shows up and it's all good.
On the website (Web2Lead form), the duplicate submitted is not inserted (i.e. the trigger works fine), but the error message from the addError is displayed on the web page!
Is there a way I can force-redirect the web user to the regular thankyou page, or does that have to be done by the web developer in charge of the the landing page?
As a side note, it might be worthwhile to merge the new lead into the existing lead on an after-insert trigger instead. This will leave your submissions in the recycle bin instead of discarding them silently.
All Answers
As a side note, it might be worthwhile to merge the new lead into the existing lead on an after-insert trigger instead. This will leave your submissions in the recycle bin instead of discarding them silently.