I am trying to change the value of a hidden form field from a layer, but it keeps saying the object is null or doesn't exist. Is this even possible, please help my boss wants this soon! Here is part of my code for the layer...
<DIV STYLE="position:absolute; TOP:100px; LEFT:210px" ID="apps"><FORM method="get" action="test_layers.htm"><TABLE BORDER="0" CELLPADDING="3"><TD><label for="app1">App 1</label><input id="app1" type="radio" value="V1" name="app" onClick="myForm.myApp.value=\'AppNum1\'"></TD></TABLE></FORM></DIV>
When I click the radio button is when I get the error(onclick event). This is just a test page but it is the general idea. myForm is the name of the form from the main page and myApp is the name of the hidden field. Thanks in advance if anyone has a clue on this.
<DIV STYLE="position:absolute; TOP:100px; LEFT:210px" ID="apps"><FORM method="get" action="test_layers.htm"><TABLE BORDER="0" CELLPADDING="3"><TD><label for="app1">App 1</label><input id="app1" type="radio" value="V1" name="app" onClick="myForm.myApp.value=\'AppNum1\'"></TD></TABLE></FORM></DIV>
When I click the radio button is when I get the error(onclick event). This is just a test page but it is the general idea. myForm is the name of the form from the main page and myApp is the name of the hidden field. Thanks in advance if anyone has a clue on this.