<form name="form1" method="post" action="">
<input type="password" name="textfield">
</form>