This is a simple tutorial on how to make a password field on a website so that when you type your password it shows on the screen as **** and not your actual password.
[code=html]
<html>
<body>
<form action="">
Username: <input type="text" name="username" /><br />
Password: <input type="password" name="password" />
</form>
</body>
</html>
[/code]
In order to create a password on a Web site, use PHP to program the back end of the password field. Learn about adding two inputs, including a password input, to a Web site with help from a software developer in this free video on Web sites.
Read more: How to Create a Password on a Web Site: Computer Software & Tech Support *link removed*
(05-08-2010, 01:25 PM)danieljackson12 Wrote: [ -> ]In order to create a password on a Web site, use PHP to program the back end of the password field.
To use this in conjunction with sending data such as a contact form or a login then you'd need to have it sent out to a php script by using code such as:
[code=html]
<form name="contact_form" method="post" action="mailer.php" onsubmit="return validate_form ( );">
<input type="submit" value="Submit" name="submit" onsubmit="return validate_form ( );"/>
[/code]
In this specific example i got from a contact form on my other website, it's validated using Javascript before it's even sent. That's what the validate_form ( ) is.
This tutorial is on how to make a password field using HTML, and that's what it does. PHP is another story.