email - auto complite

i saw in some places when u register<br />
that he text box kno it needs an emal adress<br />
so any email adress i have tped before is begin opened for a selection<br />
how do i do that?what type of text box i need to decalre?<br />
thnaks in advance<br />
peleg<!--content-->That is not something you'd include via markup, script, etc. It's a feature built into the browser itself.<!--content-->or do you mean something like this: <!-- m --><a class="postlink" href="http://www.codeproject.com/jscript/javaautocomplete1.asp">http://www.codeproject.com/jscript/java ... plete1.asp</a><!-- m --><!--content-->pelegk1,<br />
<br />
Answer to your question really depends on what sort of form and browser you're using. When registering at some website you normally need a program able to handle dynamic content (like Perl, PHP, ASP).<br />
<br />
My experiences are with Perl (.cgi) script forms. In those scripts you can define what input, text area boxes are required to proceed form.<br />
<br />
Additionally, some browsers are able to detect and store information on required input fields The browser remembers different handles, usernames, passwords and auto-insert when necessary. This feature is mostly optional with browsers.<!--content-->for example when i have registered to a site<br />
and i started to type my email<br />
i just wrote : <br />
"pel"<br />
i got offers of complite but just of email type nd not all the text tt ever waswriten in the text boxes in my browsers!<br />
thnaks n advance<br />
Peleg<!--content-->Originally posted by pelegk1 <br />
i got offers of complite but just of email type nd not all the text tt ever waswriten in the text boxes in my browsers!<br />
<br />
Well, that is a browser feature. Like I wrote in my answer this feature is optional - in for example the IE 6 browser. The visitor of a website must have accepted his browser to store manually typed e-mail adresses and auto-fill forms with these.<br />
<br />
I don't know whether it's possible to code this function into a website page. Perhaps others know?<!--content-->http://www.kirupaforum.com/forums/register.php<br />
when u start to type your email,and assuming u before had typed an email in the past +assuming that autocomplite option is active in your browser u will recive a list of email that u can choose from instead of typing one of them.<br />
<br />
know say u make another page with text boxes<br />
if u will start to type in one of them will u recive after a letter or 2 a list of emal's that u can choose from?<br />
the answe is no!!!!<br />
which means that mayb something in the CSS tells this type of thxt box that an email format is expected an beacuse of that a list of compliting email;s is being given<br />
<br />
]i hope i am moreclear now<br />
thnaks in advance<br />
peleg<!--content-->That is a browser feature! lol. That is not something that you would 'turn on' in your site source.<!--content-->pelegk1 did you check the link I gave you?<!--content-->what u gave me there is autocomplite<br />
while i am looking for gettingsomething like a select list<br />
that NOT I HAVE MADE!!!! but thecomputer has this list beacuse of previos email that were typed there!<!--content-->Hmmm.<br />
<br />
I checked the link and it looked like EXACTLY what you were asking for. If you are looking for something that enters information that specifically refers to you (such as an e-mail address) then that would be best achieved with a cookie. That would be the only way a site knew it was you returning for another look.<!--content-->beacuse on that side all the emailss that appeared as autocomplite i have typed them first time on that site!!!!<br />
but i have typed them before on othersites!<!--content-->Umm, ok, that's not HTML or any kind of SS Scripting. That's autocomplete on YOUR machine. You've typed your email before, so YOUR machine filled it in for you. ( And YES I know not for that site, ITS PART OF YOUR O.S.!):p<!--content-->i know it part of the machine!!!<br />
if u go to tools-?internet options->advannced<br />
u can setthe autocomplite- that i know!!!!<br />
the thing is that how when i type in a text box that is meant for email i am getting autocomplite???<br />
the thing is that in some site i do get and in some i dont!<br />
which means something gives the browser the notification that this is an email text box and there should be an autocomplite that feet's to this type!!!!!!!!!!!!!!!!!!!!!!!!!:mad:<!--content-->MS autocomplete (<!-- m --><a class="postlink" href="http://msdn.microsoft.com/workshop/author/forms/autocomplete_ovr.asp">http://msdn.microsoft.com/workshop/auth ... te_ovr.asp</a><!-- m -->)<br />
Autocomplete explained (<!-- m --><a class="postlink" href="http://www.geocities.com/technofundo/tech/web/ie_autocomplete.html">http://www.geocities.com/technofundo/te ... plete.html</a><!-- m -->)<!--content-->There is no need to get mad!! You asked a question and the correct answer was given. It's not our problem that you do not accept the answer.<!--content-->there is enough madness around an anger between pepole:)<br />
second i read Fang's links<br />
an it still didnt give me and answer why when u type in an email text box<br />
it know to give me as an autocomplite only list of email and not list of everything@1!<!--content-->IE read the name attribute of the input element. If it finds, for example, <input type="text" name="email" />, it assumes an email address is required.<br />
Similarly for name="FirstName", etc.<br />
IE will read the name value and try and find a match for that value using it's own internal list.<!--content-->it is possible to differ the email box from other plain text boxes!<!--content-->Yes it's the value of the attribute name.<br />
It does require using IE with autocomplete switched on, and may require that the user complete's the form several times.<!--content-->one more small question :<br />
say the autocomplete switched OFF<br />
<br />
and in thetag i put autocomplete="on" will it ignore it beacuse the browser autocomplete is set to off?<br />
thnaks i nadvance<br />
peleg<br />
<br />
<br />
<br />
by the way :<br />
and may require that the user complete's the form several times. <br />
yes it obvious u need at least one time that an email adress will be filled an submited :)<!--content-->autocomplete is a browser option and ,as such, can only be changed by the user. No tag can change autocomplete.<!--content-->
 
Back
Top