HTML forms: field naming

Never do this:
<form name="form_xy" action="" method="post">
  <input type="hidden" name="submit" value="whatever" />
</form>

or this here will cause errors:
document.form_xy.submit();

The hidden input’s name “submit” results in a “form_xy.submit is not a function” error. Gnah. (Guess how long it took me to find this error) :P

Tuesday, September 1st, 2009 General Failure

Welcome!

Have fun reading this blog. You will find some "about" data if you follow the link in the header.

Archives