J Jeti [work] Sep 30, 2004 #2 Does any one know how to put text into a password field. Same as any other text field.... < ... value="hello world" ... >
Does any one know how to put text into a password field. Same as any other text field.... < ... value="hello world" ... >
J Josh Sep 30, 2004 #3 Same as any other text field.... < ... value="hello world" ... > I've got it sussed now, thanks. You idea did not work, although the text property is set, it does not display it. Its neccessary to set the text property, and use txtBox.Attributes.Add("Value",someString) With both set it displays the asterisks and stores the Text value.
Same as any other text field.... < ... value="hello world" ... > I've got it sussed now, thanks. You idea did not work, although the text property is set, it does not display it. Its neccessary to set the text property, and use txtBox.Attributes.Add("Value",someString) With both set it displays the asterisks and stores the Text value.
S Shiva Sep 30, 2004 #4 Setting the Text property of the password-mode text box may not work. You have to use the Attributes collection of the textbox. txtPwd.Text = "mypwd"; // This will not pre-populate the password field txtPwd.Attributes.Add ("VALUE", "mypwd"); // but this will... However, sending a default password is not recommended. HTH Does any one know how to put text into a password field.
Setting the Text property of the password-mode text box may not work. You have to use the Attributes collection of the textbox. txtPwd.Text = "mypwd"; // This will not pre-populate the password field txtPwd.Attributes.Add ("VALUE", "mypwd"); // but this will... However, sending a default password is not recommended. HTH Does any one know how to put text into a password field.