I have a registration form, but when the page loads up, it shows the name and password of my mySQL setup by default in the 'username' and 'password' fields of the form.
Is there a way to force the fields in the form to be blank on startup?
Question about HTML forms
Re: Question about HTML forms
Could we see your code? Hard to tell why it's doing that without seeing the code 
Re: Question about HTML forms
Maybe it is browsers auto complete function that does that. If you want it to be disabled for a field you can add
to the field tag. Altho this is not valid HTML/XHTML, so your page wont validate if you use this.
Code: Select all
autocomplete="off"--- Game Database ---
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
Re: Question about HTML forms
*edit* it's fixed - see below 
Last edited by OldRod on Mon Dec 21, 2009 2:34 am, edited 1 time in total.
Re: Question about HTML forms
Ok, an update - I am using Firefox and I checked the saved password list. Localhost had a saved password, so I deleted it.
That took care of the password field being filled in, but "root" is still showing up in the email address field.
That took care of the password field being filled in, but "root" is still showing up in the email address field.
Re: Question about HTML forms
Ok, I restarted Firefox and the problem went away - must have been something in the cache I guess.
Sorry for the bother
Sorry for the bother