+ 8
How can I set required in input type password feild
help me out of month programming https://www.sololearn.com/discuss/346055/?ref=app
6 Respostas
+ 7
I can set required fields
+ 6
Simply:
<input type="password" name="pw" required>
bear in mind that this is not secure at all. Any user can inspect your code and delete that required and could therefore easily bypass this verification. Consider using a server-side checking as well
+ 6
sever side checking what you mean
+ 4
Is this a question or tip or.... I really confuse..😥
+ 4
just add required attribute .
The default value of required is true.
so
<input type="text" required />
is equal to
<input type="text" required="true"/>
+ 3
Have you tried something like this?
<form method="POST" action="/do_action">
<input type="password" name="usr_passw" required="true">
<input type="button" value="click me">
</form>