Hi there !
I want to get a value from a field in a document and put the value in my JS header script.
I get the value like this from a field named dbpath:
path = document.forms[0].dbpath.value
But I get an error message that says: document.forms[0].dbpath.value is null
or not an object.
the field is a hidden notes field and computed with a value, so it is not empty.
The document does not have the “Generate HMTL for all fields” - it still doesn´t work with it enabled. I should also mention that the field is in a subform within the document.
Does any body know why I get this message ?