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

Javascript Errors

  • December 11, 2018
  • 1 reply
  • 992 views

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?



   
 
 
 
 
 
 
 
 
 
 
 





This topic has been closed for replies.
Correct answer 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.

1 reply

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