• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

Form "Textfield" without suggests

When I write some form "textfield", appear some suggest words.
How I do for not appear any suggest?
(view the image and the code snippet)
<div id="grupo_inserir_form">
  <form name="form1" method="post" action="camuflados_processar.php">
    <label for="textfield_ID" class="p1">e-mail</label>
    <input type="text" name="email" id="textfield_ID"> 
    <input type="submit" name="Submit" value="inserir" />
  </form>
</div>
<script type="text/javascript"><!--
document.forms['form1']['email'].focus();
// -->
</script>

Open in new window

form-suggest.jpg
0
Pedro Chagas
Asked:
Pedro Chagas
1 Solution
 
VallerianiCommented:
Try this, found this on mozillas site:

autocomplete="off"
 <div id="grupo_inserir_form">
  <form name="form1" method="post" action="camuflados_processar.php">
    <label for="textfield_ID" class="p1">e-mail</label>
    <input type="text" name="email" autocomplete="off" id="textfield_ID">
    <input type="submit" name="Submit" value="inserir" />
  </form>
</div>
<script type="text/javascript"><!--
document.forms['form1']['email'].focus();
// -->
</script>

Open in new window

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now