Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Using SWPM login form inside of a modal – allow auth check via Ajax?

Simple Membership Plugin › Forums › Simple Membership Plugin › Using SWPM login form inside of a modal – allow auth check via Ajax?

Tagged: ajdax, login, modal

  • This topic has 2 replies, 2 voices, and was last updated 8 months ago by nickpish.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 11, 2025 at 9:33 pm #31499
    nickpish
    Participant

    Hi, I’m trying to implement the Simple Membership login form inside of a modal- overall, it works fine, but if one inputs the wrong username or password, the page refreshes and one needs to reopen the modal in order to see that the login failed. While I could just manually trigger the modal to open when login fails, I’m wondering if there’s a way to modify the login form submission such that it confirms authentication before reloading the entire page, and thus would just display the error message, in place, via an Ajax request? Thanks for any guidance here!

    September 12, 2025 at 1:38 am #31500
    The Assurer
    Moderator

    By default, the Simple Membership login form uses a standard WordPress form submission. That’s why when a login attempt fails, the page refreshes and you only see the error message after the reload.

    Unfortunately, the plugin does not currently support AJAX-based login submissions out of the box. That’s why when you put the login form inside a modal, failed login attempts force the modal to close, requiring users to reopen it.

    Your best option is to open a paid support ticket.
    https://simple-membership-plugin.com/paid-support-simple-membership-plugin/

    September 12, 2025 at 1:55 pm #31501
    nickpish
    Participant

    Thank you for your reply, that makes sense. I’ll reach out to paid support to see if they can assist with a solution.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy