+ 1
How do you make an form that requires a specific result? (e.g. a password field that requires the user to input "#04haFb")
2 Respostas
+ 2
Ethan Morrell,
To make an specific result of the form tag u use the action attribute to redirect.
<form action="mail.php" method="GET">
To make an input field required for input you use the required attribute.
<input placeholder="******" type="password" maxlength="7" required/>
https://www.w3schools.com/htmL/html_form_attributes.asp
To create input validation, you need to work with JavaScript. I have 4 links provided that should help you to implement input validation to your project👍
(F.E. If the user need to input 12345 for validation, then you need to validate it with JavaScript).
Hope this helps you👍
https://www.sololearn.com/discuss/1459545/?ref=app
https://code.sololearn.com/W0me4LuL9ya3/?ref=app
https://code.sololearn.com/Wwj9Sl95oF5M/?ref=app
https://code.sololearn.com/W3O41HSTCa4H/?ref=app
+ 1
I will try this out, thank you!