Namespace crash in HTML forms

Today’s evil headache was caused by something as simple - yet annoying - as a two HTML form elements having the same name (but different types and uses in the form). The lesson learned is that if a field in a form is submitted but contains nothing - check if another object in the form has the same name and make changes if you need to.