• Hi!

    Is it possible to hide the registration form after the registration is successful?

    I mean, once registration goes ok, the form remains there with all its fields complete and it’s kind of aesthetic. Besides, if someone wants to mess around they can change a letter from the email or username.

    Maybe just leave the “Registration complete. Please check your e-mail.” message there but hide the form?

    Best regards and thanks for such a nice plugin 🙂

    https://wordpress.org/plugins/login-with-ajax/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    at the moment this requires custom coding on your part like

    http://api.jquery.com/html/
    http://api.jquery.com/replacewith/

    you can try to use browser inspect element to get the registration form css class or id name.

    I had the same question and I am wondering why this isn’t standard behavior for this plugin? Is there some reason for continuing to show the form after successfully registering that I am not considering.

    As for how to make it disappear, I am not the greatest with JavaScript, but after banging my head I think I have it solved. BUT, doing so involves editing your login-with-ajax.js file, which is not ideal obviously. Is there anyway to modify the behavior via my child theme instead of changing your .js file? My guess would be via a function using the WordPress user_register hook, but before I go in search of that sort of solution I am hoping to get some guidance here first.

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

The topic ‘Hide register form after successful registration’ is closed to new replies.