Link to home
Start Free TrialLog in
Avatar of msedano
msedano

asked on

Controlling Internet Explorer's autofill



If you type something on a web form, then Internet Explorer will remember this (if its enabled) and they'll get a drop down automatically.

I want to know if there's a way to control this drop down, for example, if I've typed 111 in the form when I was logged in with user xx from company xx, being able to see this 111 in the drop down, but not being able to see this 111 in dropdown if I have not ever typed it before in logged in as user yy.

Is it possible to control this from code? Autofilling this way is pretty fast, and very useful when using large codes like:1111-2222-3333. All you have to do is type the first part of the code and then select the option from the dropdown.

Thanks.
Avatar of nathanhawes
nathanhawes

You could probably do it as a cookie and a little bit of javascript. Have it so that on typing in the details saves the info to a cookie which is used to prepoulate a drop down. Have this drop downunder your input box and set it up so that on typing it scans the box finding the match of the previously entered info.

As a cookie it should be keep the info on a user by user basis, but to preload the details in the Internet Explorer function I'm pretty sure you won't be able to do.

If you want a code example message me back and i'll drum one up and post it for you. i hope this helps.
ASKER CERTIFIED SOLUTION
Avatar of ldbkutty
ldbkutty
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of msedano

ASKER

Thanks a lot guys, those scripts will make it.