I have a funtion -
<script language="javascript">
setTickYes = function(){
document.londonForm.field[1].value = "yes";
}
setTickNo = function(){
document.londonForm.field[1].value = "";
}
</script>
The form field with the label field[1] has to have this name as it is used by a mass mailing app.
The current syntax resolves the form field name to 'field1' and the function fails because there
is no field1 on the page.
Can anyone tell me how to write the field[1] so that it 'sees' the []'s please?