Simple HTML single password form -


i preface question with, newbie go easy on me.

i trying create simple html form single password field.

what happen when type in password take me website same name.

example: type in monkey, take monkey.html.

it sounds super easy lost.

i not find duplicate here form give 404 on wrong password.

<form onsubmit="location=this.password.value+'.html'; return false">   <input type="password" name="password" /> </form> 

the return false stop form submitting. use inline js because issue simple not worth rolling out unobtrusive script e.preventdefault , all.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -