Latest Register Log In

+ Advanced Search

Adding a "remember me" checkbox

Adding a "remember me" checkbox
By
May 17, 2007 (Edited Mar 10, 2014)

Suppose you want your members to have an option to have their username remembered across sessions, without staying logged in. To do this, go to your wrapper template (and login template if desired) and insert this in the login area:

<input type="checkbox" name="rememberme" value="1"> Remember me?


Then in order to show the saved value, you need to use {REMEMBERED} in the username input box like this:
Username: <input type="text" name="username" onfocus="this.value=''" size="10" value="{REMEMBERED}">





Description Remembering the username, but not the password.
Rating
Views 597 views. Averaging 0 views per day.
Similar Listings