Hi,
I need some help! And hope someone is willing to help!
I'm looking for the way how to make a 2 step registration,
first step RingRecaptcha Plugin 2nd step the registration info from the user!
I make two php files 1 = user-register.php 2= user-register-2.php
How can i link the first on the 2nd? and how to secure this that the user is only registered when 2nd is fill out!
This is the code for the first step:
<?php
osc_add_hook('header','ctg_housing_nofollow_construct');
ctg_housing_add_body_class('login register');
osc_enqueue_script('jquery-validate');
osc_current_web_theme_path('header.php');
$userEnabled = osc_user_registration_enabled();
?>
<form name="register" action="<?php echo osc_base_url(true); ?>" method="post" >
<input type="hidden" name="page" value="register" />
<input type="hidden" name="action" value="register_post" />
<button type="submit" class="small radius">
<?php _e("Next Step 2 / 2", 'ctg_housing');?>
</button>
Code step 2:
<?php
osc_add_hook('header','ctg_housing_nofollow_construct');
ctg_housing_add_body_class('login register');
osc_enqueue_script('jquery-validate');
osc_current_web_theme_path('header.php');
$userEnabled = osc_user_registration_enabled();
?>
<form name="register" action="<?php echo osc_base_url(true); ?>" method="post" >
<input type="hidden" name="page" value="register" />
<input type="hidden" name="action" value="register_post" />
<button type="submit" class="small radius">
<?php _e("Create Account", 'ctg_housing');?>
</button>
See image
Thanks