I'm trying to create a subscribe/unsubscribe form for the newsletter system 12all. I don't want to use the auto-generated form.

The only hitch to get everything working seems to be the input names. They look like this:

Code:
<form name="my_form" method="post" action="box.php" onsubmit="return validate_subscribe_form(this);">
<input type="text" maxlength="100" size="25" value="" name="field[1,0]" />
</form>
In javascript, I have a form validator that needs to reference these names. It works fine when the input names are standard text, and not in this array format that the 12all webapp produces. Should I put quotes or something around the input names in javascript?

Here's what the form validador code looked like before:

Code:
function validate_subscribe_form(thisform){
    var validcheck=true;

if(!validate_required(thisform.organization,'valid_organization')){
        validcheck=false;
    }

}
Here's what I've tried:
Code:
if(!validate_required(thisform.'field[1,0]','valid_organization')){
        validcheck=false;
    }

if(!validate_required(thisform."field[1,0]",'valid_organization')){
        validcheck=false;
    }
Any ideas? Thanks