You would has the value submitted to compare it to the hashed value you stored in the database for the username and/or password.
So right now you might have: <?php echo(isset($_POST['pwfield'])?$_POST['pwfield']:""); ?>
you would update it to: <?php echo(isset($_POST['pwfield'])?yourhashingfunction($_POST['pwfield']):""); ?>