Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
07-22-2009, 01:21 PM #1
- Join Date
- Jul 2009
- Thanked 0 Times in 0 Posts
Remove autosuggest from input field?
I have this form which calculates a golf handicap, and it works like a charm, but...
But if a user doesn't actually hit all the keys on the keyboard it doesn't calculate right...
Lets say a user has handicap 16,3 and he insert this number in the form the calculation on the fly gives him example 19, but next time he uses this, when he hits "1" the input field pops up with the suggestion of his last insert, and then the user uses the mouse to click on the suggested number, the calculation only sees the "1" and not the rest and that way calculates wrong...
My question is how to get rit of this auto suggestion for that specific field?
Thanks in advance....
echo '<input type="hidden" name="handicapindex" onKeyup="coursehcp(this);'.$matchCalc.'gir_calc();" class="h_index" value="'.$handicapindex.'">';