ricmetal Posted July 26, 2013 Share Posted July 26, 2013 hi guys i regularly see text iv'e inputted in a html text input field on some website being displayed on another website's html input field. i'm thinking this is because the text fields have the same name on both websites.. is that correct? do i need to add very specific text input field names to avoid having the content a user inputs into a text field not show up on another websites input field, say for when a different user uses the same computer so no to show the information inputted? regards Quote Link to comment https://forums.phpfreaks.com/topic/280546-inputted-data-in-inputs/ Share on other sites More sharing options...
requinix Posted July 26, 2013 Share Posted July 26, 2013 Not really. Things like name and address fields should use the common names so that the browser (which is what's showing you the past inputs) can accurately judge whether, in fact, to display name and address information you've used in the past. They're also fairly good at recognizing generic fields like "username" and "email" and not showing every single username or every single email you've entered on other sites. If you want to completely disable the autocomplete on common fields and force the users to retype information that they may have used elsewhere, and want to use on your form, then use the HTML 5 autocomplete attribute: Or for the entire form, Quote Link to comment https://forums.phpfreaks.com/topic/280546-inputted-data-in-inputs/#findComment-1442296 Share on other sites More sharing options...
ricmetal Posted July 26, 2013 Author Share Posted July 26, 2013 (edited) hi yes, they're fairly good but not always, cause sometimes they do show information inputted on a different website... i don't want to turn autocomplete off ... regards Edited July 26, 2013 by ricmetal Quote Link to comment https://forums.phpfreaks.com/topic/280546-inputted-data-in-inputs/#findComment-1442310 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.
× Pasted as rich text. Restore formatting
Only 75 emoji are allowed.
× Your link has been automatically embedded. Display as a link instead
× Your previous content has been restored. Clear editor
× You cannot paste images directly. Upload or insert images from URL.