windows 2000 autocomplete in text field

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

windows 2000 autocomplete in text field

Post by pelegk2 »

i have 2 text boxes :
1 for user name
1 for password (and defined for it)
when i type the user name it autocompletes the password!
how can i control it?when to autocompleteand when not?
thanks in advance
peleg
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

In IE:

Tools > Internet Options > Content > AutoComplete
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

but i want to do it using code!

Post by pelegk2 »

i can go around the world and do as instructed :):):):):)
or maybe some 1 wants to buy me tickes for that :D
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

lol. you got it under control then i assume?
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

noooooooooooooooooooooooo!!!!

Post by pelegk2 »

beacuse i want to do it with code!
is it possible>!>!?!>!>!>?!>!?!?!
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

yes

I explained how in an older post. lemme find it.
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

For problem #1, look here:
http://msdn.microsoft.com/library/defau ... /acoff.asp

You can turn off a form field's autocomplete ability by using the attribute autocomplete:

<form method=post action="something.php" autocomplete="off">

Or

<input type="text" name="creditcard" value="" size="16" maxlength="16" autocomplete="off">

Or using JavaScript. See link for code.
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

smurf

Post by pelegk2 »

i thought yourgoing to buy me tickets:)
thanks alot anyway
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

tickets?
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

Post by pelegk2 »

read above if u didnt understand the joke:)
Post Reply