Password correct? then redirect [migrated]
- by RevCity
So I have this code and I need it to only redirect when the correct password is added. Only problem is that I dont know what to add that will make it only redirect if the password is "hello"
I understand that using "view-source" would reveal the password, I don't mind that, its the way I want it.
I basically just need to know what to add and where to add it.
Sooo:
Redirects if "hello" is typed into password field.
Does nothing if anything else is put into the password field.
<div class="wrapper">
<form class="form1" action="http://google.com">
<div class="formtitle">Enter the password to proceed</div>
<div class="input nobottomborder">
<div class="inputtext">Password: </div>
<div class="inputcontent">
<input type="password" />
<br/>
</div>
</div>
<div class="buttons">
<input class="orangebutton" type="submit" value="Login" />
</div>
</div>
I hope this was clear and could be understood.