How do I redirect to bookmark when registration form submit errors occur?

Posted in

On our affiliate registration solicitation page, I use Divi module bookmarks to scroll down to the form. If the user completes the form and hits [Sign Up], the page refreshes to the top of the page where the confirmation message or form error message(s) are below the fold.

Is there a way, without redesigning this page to force the registration form at the top of the page, to redirect the refresh to the bookmark, which is http://getboinged.com/become-affiliate/#affreg ?

Anthony

One Response to How do I redirect to bookmark when registration form submit errors occur?

  1. antonio September 10, 2015 at 6:38 am #

    Hi Anthony,
    really you can not configure this redirect. You can configure the redirect url when the form is sent correctly with the attribute ‘redirect_to’.
    in affiliates-pro/lib/core/class-affiliates-registration.php , line 363 you can see that the form isn’t ‘action’ attribute, so it’s redirect to the same page.
    Kind regards,
    Antonio B.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share