keep previous data from displaying in a html text box

Hopefully I can explain this, I have a php page that submits a form to itself.  I am using a scanner to enter numbers from barcodes into a text field and then submitting the form.  When I scan a unique number the form works fine.  When I scan a number I have scanned before, a list pops up of the number scanned and then the enter selects the number from the list and form is unsubmitted.  I have no idea what is doing this, but I run into the same problem with IE8 on winXP and the default browser on an android tablet so I am thinking I need to code something to prevent it.  Any ideas on a solution would be welcomed.
James Stonewarehouse managerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

xtermCommented:
Those are your browser autofill preferences - you have to disable them on the client side - you can't code around it on the server side unless the name of the form field changed every time (very inconvenient for programming!)
0
venloftCommented:
You could try to use the autofill property in the input, and see if its the behavior your looking for

<input autocomplete="off"  

Open in new window


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
James Stonewarehouse managerAuthor Commented:
I didn't know that property even existed!  And it worked (the list still shows, but it ignores it) -- I am HOPPY!
0
xtermCommented:
Wow, me either.  Impressive, venloft.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.