Skip Navigation

[Resolved] Remember Me option for login form

This thread is resolved. Here is a description of the problem and solution.

Problem: How can I add the "Remember Me" checkbox to a login form generated by the [wpv-login-form] shortcode?

Solution: Add the allow_remember shortcode parameter, set to "true":

[wpv-login-form allow_remember="true"]

Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-login-form

This support ticket is created 7 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by Charles 7 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#553050

Support,

Is it possible to add a "Remember Me" option to a login form?

Like this: hidden link

This is how my form is currently showing using the login shortcode: hidden link

Thanks,
Chuck

#553105

Hi, there's a shortcode option to display this checkbox. It's called "allow_remember", and by default it is set to "false". You should set it to "true". Please refer to the shortcode documentation here:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-login-form

This is how it looks in a typical login form shortcode:

[wpv-login-form allow_remember="true"]
#553156

Thanks Christian, that worked.

Using CSS, how can I target the radio button or label? I would like the button and label aligned horizontally as well as spaced out a little bit.

Here is a screenshot: hidden link

Thank you,
Chuck

#553217

It has an ID of "rememberme" so you could use CSS like this:

#rememberme {
  margin-top: -3px;
  margin-right: 4px;
}

Modify the margin values however you would like to get the design perfect.

#553230

That worked. Looks great. Thanks!