I am using a login form created with the following...

<?php $args = array(
        'value_remember' => true );

It works great but if somebody puts an incorrect password in then the page reloads and instead of keeping the username in it is blank. The person then has to re-enter it, is there anyway to get it to save this value?


According to the code, the value_remember argument sets the "Remember Me" checkbox to checked. It doesn't have anything to do with retaining the username.

So the answer to your question is probably "No".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.