matthew9090 Posted March 8, 2011 Share Posted March 8, 2011 i have made my own website suggestion box but when i start typing in on my websites search box google chrome automatically suggests other words and you can't see underneath. I don't want this to happen to other people viewing my website. Is there any sort of code i an put on my website to stop this? Quote Link to comment https://forums.phpfreaks.com/topic/229989-website-suggestions/ Share on other sites More sharing options...
HuggieBear Posted March 8, 2011 Share Posted March 8, 2011 Nope, that's a browser preference and can only changed on the client side I believe. Try googling for terms like 'Prevent Auto Complete' Quote Link to comment https://forums.phpfreaks.com/topic/229989-website-suggestions/#findComment-1184520 Share on other sites More sharing options...
codefossa Posted March 8, 2011 Share Posted March 8, 2011 Add the "autocomplete" attribute the the input tag, and have it's value be "off". Quote Link to comment https://forums.phpfreaks.com/topic/229989-website-suggestions/#findComment-1184523 Share on other sites More sharing options...
matthew9090 Posted March 8, 2011 Author Share Posted March 8, 2011 thanks it worked! Quote Link to comment https://forums.phpfreaks.com/topic/229989-website-suggestions/#findComment-1184525 Share on other sites More sharing options...
HuggieBear Posted March 8, 2011 Share Posted March 8, 2011 Thanks Kira, I didn't know that. Is it standards compliant? Quote Link to comment https://forums.phpfreaks.com/topic/229989-website-suggestions/#findComment-1184527 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.