How to not preload page with self loading

Asked

Viewed 35 times

0

I’m developing a page that needs a form. For aesthetic reasons, I chose not to put caption and in its place I am using placeholder. In that case, he did not want the information to be filled out automatically. How do I inhibit automatic charging?

2 answers

1

maybe autocomplete off will help you

  <form action="/action_page.php" autocomplete="on">
  First name:<input type="text" name="fname"><br>
  Last name: <input type="text" name="lname"><br>
  E-mail: <input type="email" name="email" autocomplete="off"><br>
  <input type="submit">
</form>

Source:https://www.w3schools.com/tags/att_input_autocomplete.asp

  • did not work. For some reason it did not serve for any field.

  • it seems that the Chrome You’re ignoring this tag. an alternative found in another Question, https://stackoverflow.com/a/29582380/4591907 he says he needs to put in all fields, and in the form too... all "false" instead of "off"

  • Keep ignoring. I changed them all the way you told me.

-1

The best solutions to your problem are the jScroll and the Lazyload, both work similarly and load when the browser is scrolled down and "passes" through the component.

Example jScroll:
HTML:

<div class="scroll">
    <h3>Page 1</h3>
    <p>Content here...</p>
    <a href="example-page2.html">next page</a>
</div>

Javascript:

$('.scroll').jscroll();

Simple as that =]

  • That’s not really the problem. This information that is automatically filled in that I refer to are the preloads of input fields that are saved in the browser. Fields like email and password that are already saved in the browser, but which I would not like to appear immediately when loading.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.