Once I had my JSP code reproved by the customer because I had a javascript code where I wrote "document.forms[0].fieldname.value" instead of "document.formname.fieldname.value". Is it using "forms[0]" seriously a wrong way of coding? I only had one form inside the JSP.