Hi, I have just created an edit user form with standard password and confirm password fields using input_password_tag and a username field. When I write sth in the field paswword a username and nothing in the confirm field and press submit then apperas the message: "would you like to have password manager change the stored password for chris?" the strange thing is that chris is not the username i typed. Then i tried sth else. I deleted the xml file where the data were saved and i tried to to do the same thing. The result was the same..... How do I stop this? any idea pls?
I think you need to disable the firefox password manager Just visit any other site with a form like this and try there Are you using ROBOFORM or any other form tool on your pc Its not a php problem Regards Alex
No i don't use ROBOFORM or any other form tool. I will write my code if this helps... (the main problem is that appears an another username not the username you type at that moment... ) the html file has the form code: <form id="form1" name="eggrafi" method="post" action="signup.php"> <label><br /> username: <input type="text" name="name" id="textfield" /> </label> <p> <label>Password: <input name="password" type="password" id="textfield2" value="" /> </label> </p> <p> <label>Retype: <input type="password" name="retype" id="textfield4" /> </label> </p> <p> <label> <input type="submit" name="submit" id="button" value="Sign up" /> </label> </p> </form> the signup.php is the following: ... if(($_POST["password"]==NULL) || ($_POST["retype"]==NULL)) { include("eggrafi_error2.html"); exit(); } ... when you type nth in retype field go to eggrafi_error2.html which is the following: <form id="form1" name="eggrafi" method="post" action="signup.php"> <label><br /> username: <input type="text" name="name" id="textfield" value="<?php echo $_POST["name"]; ?>" /> </label> <p><img src="jpgs/icon_error.gif" alt="error" width="14" height="16" /> <span class="style10">Re-type your password.</span></p> <p> <label>Password: <input name="password" type="password" id="textfield2" /> </label> </p> <p> <label>Retype: <input type="password" name="retype" id="textfield4" /> </label> </p> <p> <label> <input type="submit" name="submit" id="button" value="Submit" /> </label> </p> </form> At last the login.xml file is this: <login> <users> <name>George</name> <password>pass</password> </users> </login> Sorry for too much data but it is very important to solve this problem.... Thank you in advance Chris
Perhaps the password manager is relying on the id of the input fields to decide what's what. You may want to try giving the username and password fields ids which are more specific to their purpose and less likely to come up in other contexts.
Thank u my friend for the answer. I just tried that but did not work I tried giving both id and name field. Then i tried giving only the id field. But none of the above work.... I can not imagine what is wrong. The strange thing is that in the message: "would you like to have password manager change the stored password for chris?" chris is not exist in login.xml.... and whenever try to write sth in the field paswword, username and nothing in the confirm field and press submit then appears the message from above although the name i give in the username field is dor example "George". any other proposal? Thank you in advance chris