Home > OS >  hide input field but keep autocomplete
hide input field but keep autocomplete

Time:01-18

I need to have a hidden email input field which only purpose is to get the email autocomplete without being shown. I tried with type='hidden' and display none, which doesn't make it work. Is there any way to do it? Thank you

CodePudding user response:

there is a visibility. Try this:

visibility: hidden;

CodePudding user response:

Ok I just figured it out. Just to be clear, I needed an extra input that would catch the browser autocomplete, but I needed it to be hidden. Solved it with z-index -10

  •  Tags:  
  • Related