Membership/BuddyPress new account form

When a subscriptions button is pressed, it redirects to something like this:


This produces a form for the sign up.

I have reproduced the form in another page but when submitting, it doesn't work.

What are the required fields/action for it to work?


  • Joe
    • Site Builder, Child of Zeus

    Hello Jack,

    I have a few membership options created with Membership plugin. I also have Buddypress installed.

    The link format for any subscription is something like this:


    When clicked, it generates the sign up form to sign up.

    I copied the form code for that form and I'm trying to use it in another page.

    This page is to be access directly, not by pressing the button from the subscription.

    I can't get it to work. I wonder if there's is a field that is been passed or something else I am missing.

    <form action="" name="signup_form" id="signup_form" class="standard-form" method="post" enctype="multipart/form-data">
     <input type="hidden" value="/sign-up/?action=registeruser&subscription=10" name="_wp_http_referer">
      <h2>Sign Up to Join Free</h2>
       <p>Registering for this site is easy, just fill in the fields below to get a new account set up for you in no time.</p>
    	<div id="basic-details-section" class="register-section">
    		<h4>Account Details</h4>
    		<label for="signup_username">Username (required)</label>
    			<input id="signup_username" value="" name="signup_username"  type="text"  />
    		<label for="signup_email">Email Address (required)</label>
    			<input type="text" value="" id="signup_email" name="signup_email"></br>
    		<label for="signup_password">Choose a Password (required)</label>
    			<input type="password" value="" id="signup_password" name="signup_password"></br>
    		<label for="signup_password_confirm">Confirm Password (required)</label>
    			<input type="password" value="" id="signup_password_confirm" name="signup_password_confirm"></br>
    	</div><!-- #basic-details-section -->
    	<div id="profile-details-section" class="register-section">
    		<h4>Profile Details</h4>
    		<div class="editfield">
    			<label for="field_1">Name (required)</label>
    				<input type="text" value="" id="field_1" name="field_1">
    			<p class="description"></p>
    			<input type="hidden" value="1" id="signup_profile_field_ids" name="signup_profile_field_ids">
    	</div><!-- #profile-details-section -->
    	<div class="submit">
    		<input type="submit" name="signup_submit" id="signup_submit" value="Sign Up">
    		<input type="hidden" value="72db0bd0d7" name="_wpnonce" id="_wpnonce">
    		<input type="hidden" value="10" name="subscription">
    		<input type="hidden" value="validatepage1bp" name="action">
  • Alexander
    • DEV MAN’s Mascot

    Hi Joe,

    I see this is a duplicate thread of something we're working out here:

    Normally, we'd close the newer one - but I'm closing this one instead as I've already posted something that should help you.

    The problem here is that you can't just copy the HTML. You will need to use the PHP code included to process and prepare the form.

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.