document.getElementsByName("field_name")[1];
you have to specify [1] because the fields are placed in a div with the same name so [0] is the div and [1] the field itself.
Hope that i helped !
Léodocument.getElementsByName("field_name")[1];
you have to specify [1] because the fields are placed in a div with the same name so [0] is the div and [1] the field itself.
Hope that i helped !
Léo