Skip to main content
gerrye50334270
Known Participant
December 11, 2018
Besvarat

Javascript Errors

  • December 11, 2018
  • 9 svar
  • 1019 visningar

My form was working perfectly until I added some script to hide fields based on a button... now I get an error

JavaScript Debugger (window) says:

TypeError:  f is null

1051:byteCodeTool

Any ideas?



   
 
 
 
 
 
 
 
 
 
 
 





Det här ämnet har stängts för svar.
Bästa svar av George_Johnson

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.

9 svar

Bernd Alheit
Community Expert
Community Expert
December 11, 2018

Check the field names.

gerrye50334270
Known Participant
December 11, 2018

For what?  Please explain

gerrye50334270
Known Participant
December 11, 2018