My form was working perfectly until I added some script to hide fields based on a button... now I get an error
TypeError: f is null
Check the field names.
For what? Please explain
Compare the field names in your code with the field names in the form.
I wrote this for approx. 20 fields to hide when check box is
selected – naming all the fields starting with “Redo.” It's the only one I have I think...
var nHide =
The only other one I have is a purchased cascade script from
MVP which appeared to be working fine prior to adding the above…
Both actually work but the Debugger error window keeps
coming up every time anything is slected?
I did delete a field that had script in it though... would that be causing the issue?
Where did you set the variable f?
I'm not sure what that means? ... but the issue appears to be in the cascade drop lists
In some code somewhere in the form, it's attempting to assign a field object to the variable f, for example:
var f = getField("Text1");
but the field ("Text1") does not exist. It could be that it was deleted or renamed. You're going to have to find the code and determine which field name it's using, and go from there.