How to password in HTML?

Stu the Moo

New member
I have this simple form:

<form>
<input type="password" name="textfield" />
<input name="Submit" type="submit" value="Go" />
</form>

How to I make this so that when the viewer presses go it checks weather the password they entered is a certain word. Like "apples" for example. Then if it's right redirect to another page and if its wrong pop-up a window.

Thanks.
 
Back
Top