Passing data to registration page in G2.3.1
mikeb816
Joined: 2010-04-24
Posts: 4 |
Posted: Mon, 2010-05-31 19:20 |
First, Happy Memorial Day to all.... I have one last issue I can't figure out before I take my site live. I'm trying to pass the necessary info to the Registration page in G2.3.1 to add a new user without them having to re-enter the data after they've already signed up on my site. I do the exact same thing with the login page that works just fine for existing users, but for some reason, what gets entered into the form on the registration page are the variable names rather than the contents of the variables. Here is a short PHP page I made up to test what I want to do: <?php $first = "Billy "; echo $first; ?> <head> <body> <a href="http://www.MySite.com/galleries/main.php?g2_view=core.UserAdmin&g2_subView=reg ister.UserSelfRegistration&g2_form[formName]=UserSelfRegistration&g2_form[action][create]=Register&g2_form[userName]=$username&g2_form[fullName]=$name&g2_form[email]=$email&g2_form[password1]=$pw&g2_form[password2]=$pw" title="Register Now"> Register Now </a> </div> </html> Any and all help is greatly appreciated! Mike Gallery URL = http://www.FakeName.com/galleries/main.php |
|