CREATING A PASSWORD FIELD print $query->password_field(-name=>'secret', -value=>'starting value', -size=>50, -maxlength=>80); -or- print $query->password_field('secret','starting value',50,80); password_field() is identical to textfield(), except that its contents will be starred out on the web page.