Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/280546-inputted-data-in-inputs/
Share on other sites

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,





			
		
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.