Jacques Posted September 3, 2012 Share Posted September 3, 2012 I have added an "Activate User" functionality to the Virtual Store site. How do I make the user's email address appear in the sidebar "Login" form when the user account is activated; simular to after "Registration" or "Reset Password"? Thank you. Link to comment Share on other sites More sharing options...
Larry Posted September 3, 2012 Share Posted September 3, 2012 Just store the value in a session when the user logs in, then echo it out in the right place. 1 Link to comment Share on other sites More sharing options...
Jacques Posted September 5, 2012 Author Share Posted September 5, 2012 Hi Larry. Thank you for your reply. I realised that my questions had been inarticulate as I think your reply refers to displaying for example a username once a user is logged in, if I understand it correctly? What I meant to ask was: How do I get the activation script to pass on the user's email address to the email address field (autofill) in the login form when the user activates his or her account, simular to when a user register for the site or reset his or her password? The user then only has to enter his or her password to log in. It is for consistancy purposes. Thank you in advance. Link to comment Share on other sites More sharing options...
Larry Posted September 5, 2012 Share Posted September 5, 2012 Just echo out the email value within the email input's value attribute. Link to comment Share on other sites More sharing options...
Recommended Posts