Latest Register Log In

+ Advanced Search

Adding a "remember me" checkbox

Adding a "remember me" checkbox
By
05/17/07 (Edited 03/10/14)

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 632 views. Averaging 0 views per day.
Similar Listings