Title: Wrong Return URL
Last modified: April 20, 2022

---

# Wrong Return URL

 *  Resolved [invdesign](https://wordpress.org/support/users/invdesign/)
 * (@invdesign)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-return-url/)
 * Hello,
 * I have the Return/Thanks URL set up to be an absolute link (using https) ending
   with an anchor and even though I double-checked and that link does work and bring
   you to the correct section, after submitting my form I get brought back to the
   top of my page with the URL ending in #sf_form_salesforce_w2l_lead_1 instead 
   of the section with the anchor I selected.
 * Is there something additional I have to do to get this set up correctly?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-return-url%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [brilliantplugins](https://wordpress.org/support/users/brilliantplugins/)
 * (@brilliantplugins)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-return-url/#post-15575634)
 * The plugin uses an anchor to keep the form onscreen.
 * It sounds like the JS redirect to your thank you page is never firing… or it’s
   not even being output… I don’t see it in the code.
 * Can you post a screenshot of your form settings?
 * Note: the built in captcha is deprecated and does not likely block any meaningful
   spam. Use recaptcha if you want to block spam.
 *  Plugin Author [brilliantplugins](https://wordpress.org/support/users/brilliantplugins/)
 * (@brilliantplugins)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-return-url/#post-15575639)
 * > The plugin uses an anchor to keep the form onscreen.
 * To attempt to keep it on screen. Some themes do funny things with anchors/scrolling
   and that doesn’t work.
 *  Thread Starter [invdesign](https://wordpress.org/support/users/invdesign/)
 * (@invdesign)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-return-url/#post-15575760)
 * Thank you for such a quick response!
 * Looked more closely through the settings and the shortcode and found the issue–
   we have multiple test forms and the wrong one was being pulled in via the shortcode
   aka there was no link specified and the theme was affecting the default anchor
   from the plugin.
 * Also thanks for the heads up on not using the built in captcha (I’m guessing 
   the next update will have that option removed?). Will look into recaptcha.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Wrong Return URL’ is closed to new replies.

 * ![](https://ps.w.org/salesforce-wordpress-to-lead/assets/icon-256x256.png?rev
   =2316786)
 * [Brilliant Web-to-Lead for Salesforce](https://wordpress.org/plugins/salesforce-wordpress-to-lead/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/salesforce-wordpress-to-lead/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/)
 * [Active Topics](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [invdesign](https://wordpress.org/support/users/invdesign/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/wrong-return-url/#post-15575760)
 * Status: resolved