Author |
Message |
domuk
WebHelper
Joined: 15 Jan 2004
Posts: 91
|
Posted:
Tue Aug 10, 2004 3:57 pm (19 years, 8 months ago) |
|
When you put a word into a text box (say on google) a box appears as you type with previous entry's that you have put into that box.
1) What is this called
2) Can I get rid of it on one of my web pages (only that page) using say PHP?
Thanks,
Dom. |
|
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Tue Aug 10, 2004 9:14 pm (19 years, 8 months ago) |
|
What it's called will depend on the browser in use (it's simply called Saved Form Information in Firefox). You won't be able to disable it, since it's a browser thing - there's a chance you might be able to do something with javascript, but it's unlikely that it would be effective.
Also, moved to General. |
________________________________ It's turtles all the way down... |
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Aug 11, 2004 7:49 am (19 years, 8 months ago) |
|
|
|
|
domuk
WebHelper
Joined: 15 Jan 2004
Posts: 91
|
Posted:
Wed Aug 11, 2004 7:59 am (19 years, 8 months ago) |
|
Thanks again Daniel and Adam,
does it also autocomplete if you yse a text field?
and after you have Code: | <input autocomplete="off" /> |
do you have to Code: | <input autocomplete="on" /> | ?
Thanks,
Dom. |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Aug 11, 2004 9:32 am (19 years, 8 months ago) |
|
<input> can be a text field, a selection box...
You don't need to set autocomplete="on", it's on by default. |
________________________________
|
|
|
|
domuk
WebHelper
Joined: 15 Jan 2004
Posts: 91
|
Posted:
Wed Aug 11, 2004 11:02 am (19 years, 8 months ago) |
|
|
|
|
php4ever
Junior WebHelper
Joined: 10 Oct 2002
Posts: 49
|
Posted:
Sat Aug 14, 2004 11:08 pm (19 years, 8 months ago) |
|
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Sun Aug 15, 2004 12:38 pm (19 years, 8 months ago) |
|
That's interesting, but from what I can tell it's not part of the W3C standard (it's not in input's ATTLIST in the DTD) - so there's not guarantee that all browsers support it (which means it's best not to rely on it too much). |
________________________________ It's turtles all the way down... |
|
|
|
|
Page generation time: 0.131275 seconds :: 18 queries executed :: All Times are GMT
Powered by
phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme