Forum Moderators: open
Both lists are being fed by a database and occur several times in the same form to reflect different entries, hence the use of the arrayed names.
Any ideas?
However, if you want to access them through the form, you need to correct this:
document.form.elements['name[]']
should be:
document.forms['yourFormName'].elements['name[]']
Note, document.forms, not document.form.
Then specify either the form name, or the form index.
Hope that helps.