PHP Classes

AUTOCOMPLETE

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  PHP Forms Class with HTML Generator and JavaScript Validation package blog  >  Locating addresses on...  >  All threads  >  AUTOCOMPLETE  >  (Un) Subscribe thread alerts  
Subject:AUTOCOMPLETE
Summary:<form [autocomplete=("off"|"on")]>
Messages:2
Author:seidmh
Date:2006-12-24 08:08:08
Update:2006-12-24 18:33:13
 

  1. AUTOCOMPLETE   Reply   Report abuse  
Picture of seidmh seidmh - 2006-12-24 08:08:08
Can you add support for disabling autocomplete in your forms.


Single Field:

<input type="text" name="fieldname" autocomplete="off">


Entire Form:

<form autocomplete="off">
<input type="text" name="fieldname1">
<input type="text" name="fieldname2">
<input type="text" name="fieldname3">
</form>

  2. Re: AUTOCOMPLETE   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-12-24 18:33:13 - In reply to message 1 from seidmh
Just use:

$form->ExtraAttributes['autocomplete']='off';