meme meme - 2 months ago 7
HTML Question

Html password form assistance

How would I create a form where if the user input is "password" and they click the continue button it would take them to another page?



You would need to use php for that so you'll have to change the extensions of your page to .php and host it on a wamp or mamp server



$_POST['thenameyougavethepasswordfieldgoeshere'] = $password

if($password == "password"){
header("Location: thepage.php);
echo("Incorrect Password");


Just add a type=Submit button to the html and there you go