BuddyDev

Search

[Resolved] Buddypress Ajax Registration Problem

  • Participant
    Level: Initiated
    Posts: 9
    Brayden on #1974

    Hello,

    I am trying to make a button on my register page that says ‘register’ and when you click it the pop-up modal appears. Here is what I have:

    <form action=”http://127.0.0.1/wordpress/register/&#8221; class=’bp-ajaxr’>
    <input class=”btn btn-primary btn-lg btn-block” type=”submit” value=”Register” />
    </form>

    The button is there with the register text but the pop-up does not load, it just brings me to http://127.0.0.1/wordpress/register/.

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #1977

    Hi Brayden,
    You don’t need a form there. Here is the code that will work for you

    
    <a href="<?php echo bp_get_signup_page();?>" class='btn btn-primary btn-lg btn-block bp-ajaxr'>Register</a>
    
    

    That will work.

    Hope that helps.

  • Participant
    Level: Initiated
    Posts: 9
    Brayden on #1988

    Worked perfectly as usual, thank-you.

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #1989

    You are most welcome 🙂

The topic ‘ [Resolved] Buddypress Ajax Registration Problem’ is closed to new replies.

This topic is: resolved