IOS autofill psw input as new account each time

Hey there :wave:

I know, that’s super annoying. I think this is the code to fix it. You will need to run Javascript to get it to work. I have a set state that changes to login or signup based on what the user selects. It makes a huge difference for user experience.

So when you want it to be LOGIN:

document.getElementById("id1").setAttribute("autocomplete", "current-password");

and when you want it to be SIGNUP:

document.getElementById("id1").setAttribute("autocomplete", "new-password");

Someone that actually knows code can verify for me.

Here is the source you can look at: Password input autocomplete="new-password" workaround? - #3 by yusaney1

Hope that helps! :blush:

@j805 www.NoCodeMinute.com

For All Your No-Code Education Needs:

  • One-on-One Tutoring
  • eLearning Hub
  • Video Tutorials
2 Likes