only enable dpassword if there are password input boxes