Hi All
I hoping someone can help with this . I have issues with some javascript errors which are thrown when ever I attempt to add javascript to new entity form.
I've had some code there previously and it worked fine and then for no apparent reason started throw errors. I got to the point I removed the code completely and the problem went away as expected. So I then attached a new script containing single function with an alert just to test as I could not find a valid reason why orginal code failed.
sample code fired by the onload event
function test() { alert('ok'); }
This also producted the same error
<dir>SCRIPT1002: Syntax error
SCRIPT5009: '_formHierarchy' is undefined
</dir>Does this make sense to anyone and how I might get passed it.
Thanks in Advance