Expand my Community achievements bar.

typeError xyz is not a function

Avatar

Former Community Member

I have a large set of functions in a scripting object. This has worked fine for some time. However, sometimes, I get the message, "typeError xyz is not a function" when I call the function (which as existed for some time) from a form field. Yet, it will work when I cal it from another form field.

I've run a JavaScript checker on it and there are only a few low-level errors (missing semi-colons) that don't fix the problem. Moving the functions to a new scripting object cures the problem.

Any ideas why this occurs?

0 Replies