/    Sign up×
Community /Pin to ProfileBookmark

Help with AutoFill textbox

Ok,
I have looked long and hard and have found some code that does an autofill for you. The thing is that the values that help supply the autofill are stored in a <select> or drop down box.
The thing is, is that I dont want to use a drop down list or a <select> object because its visiable. If you can hide this object then It will work but i dont think you can hide a drop down list and still pull values from it.
So What I would like to do is use the code that i post and change it so that it uses an array(22) instead of a drop down box.
Any one up for the challenge.
This is a great script and I can work with it the way it is but If I can get this to work with an array that would be better.
So I am asking all you javascript gurus to help me.

Here is the code. Just copy and paste this into a sheet and you will see how it works.

My question is, can anyone help me make this work off of an array instead of a drop down list.

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@crh3675Aug 04.2004 — I modified another persons script to work with multiple fields. Try the HTML within the Zip file I attached.

[upl-file uuid=65b2ecb2-35ff-4b2f-bd7c-ea4cca65b387 size=3kB]autocomplete.zip[/upl-file]
Copy linkTweet thisAlerts:
@lmf232sauthorAug 05.2004 — Very Nice crh3675.

Thanks.
Copy linkTweet thisAlerts:
@lmf232sauthorAug 05.2004 — Very Nice crh3675.

Thanks.
Copy linkTweet thisAlerts:
@crh3675Aug 05.2004 — You're welcome. I thought that would help.
×

Success!

Help @lmf232s spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...