I have a form that has three fields: one drop-down, one text entry, and one checkbox. I have this code in the checkbox, on user input:
When I go to the form, I can check the box once and have it work as it should, but subsequent checkings don't work.
- if(input.Tickybox == null)
- {
- enable DropdownField;
- disable TextentryField;
- TextentryField="";
- }
- else
- {
- disable DropdownField;
- enable TextentryField;
- DropdownField="-Select-";
- }
In Firefox's error console, this comes up:
Error: syntax error
Source File: http://creator.zoho.com/generateJS.do
Line: 1, Column: 1
Source Code:
function doaction(recType)
What's going on here?
-x