Ok background. I have a form built in PHP (it’s a new user request form that sends an e-mail to our help desk). I am trying to control what the user can select based upon the options that they pick. If anyone would like a further back ground on the form please let me know and i can dive into further details on the form.
so i have this code built in js:
[CODE]14: <script type=”text/javascript”>
15: function checkPC(){
16: if (document.form1.computer.value==” || document.form1.computer.value==’No’){
17: document.form1.thinClient.disabled=true;
18: document.form1.pc.disabled=true;
19: else
20: document.form.thinClient.disabled=false;
21: }
22: if (document.form1.thinClient.value==” || document.form1.thinClient.value==’Yes’){
23: document.form1.pc.disabled=true;
24: else
25: document.form1.pc.disabled=false;
26: }
27: if (document.all){
28: setInterval(“checkPC()”,100)
29: }
30: }
31: </script>
[B]I am returning a syntax error on line 19 char 1.
Thanks for any help or insight! ?