Home › Forums › Plugin Support › Remember Me Checkbox
Tagged: login form remember me checkbox
- This topic has 4 replies, 3 voices, and was last updated 11 years, 2 months ago by 
frogontop.
 
- 
		AuthorPosts
 - 
		
			
				
January 26, 2013 at 5:44 am #2940January 27, 2013 at 12:36 am #2942
Support
MemberHello,
There are two ways to use UMP login shortcode.
1. [user-meta type=”login”]
This shortcode doesn’t indicate any form name, if you use this shortcode, a login form with username/email, pasword and Remember me field will generated automatically.2. If you like to do more customization for your login form, then you can assign a form with login shortcode, In that case login shortcode will be like this: [user-meta type=”login” form=”Your Login Form”]
If your assign a form to login shortcode then login form will not automatically add any field to login form, It will use only those fields which are found into your assigned form. So you have to drag a Username, Passwoord field to your form and for Remember Me, use a checkbox field and use meta_key “remember” for that field.Thanks.
January 27, 2013 at 9:19 am #2947clogic
MemberThanks for the quick reply! I am using #2 as you had already really helped me out with setting up a redirect for my login form/page.
However, when I add a checkbox, the field only sort of shows up in the login form. In the HTML on the login form I only get a “Remember Me” label, no input (checkbox).
This is not essential, so no rush on this, but is there something else I need to do to get this working?
Thanks!
January 27, 2013 at 9:30 am #2948clogic
MemberSorry, I see what I have to do now! I added the field label, but I needed to instead use the Field Options to do something like, “1=Remember Me”.
Thanks again, great support for this plugin!
August 25, 2014 at 4:20 pm #6235frogontop
MemberHello,
I have a simple login form with a Remember Me checkbox configured as meta_key=remember and having a single Option as 1=Remember Me
The issue is that the checkbox does not in fact remember the user following login. If I visit the login page and complete the form and check “Remember Me” and then login and then logout and revisit the login page I do not see the checkbox checked nor is my username populated in the form.
What am I missing? It just doesn’t seem to work. I’ve even tried using the default shortcode with type=”login” and no form name – the checkbox renders but doesn’t do anything or work 🙁
Any thoughts??
 - 
		AuthorPosts
 
- You must be logged in to reply to this topic.
 
