hello have you used Jquery? see how easy it is to solve your problem with it.
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script>
$(function(){
$('input').val('')
})
</script>
</head>
<body>
<form>
<input type="password" value="123" placeholder="digite sua senha" autocomplete="off" />
<input type="text" value="oie" placeholder="digite um texto" autocomplete="off" />
</form>
</body>
</html>
in the example I used, every time I load/open the page the fields will be cleared, you can adapt the code as you want.
Placeholder = is to enter something in the field for the user to read
Autocomplete = is to enable or not the list of information already entered in the field
hope I’ve helped
This depends on the browser settings. Your browser is probably saving the fill options. Change these settings and the problem will be solved.
– Amanda Lima
But it does not guarantee me what I want for users. I want to prevent this situation for all users.
– M_b_85