Expand my Community achievements bar.

How to access document properties/attributes?

Avatar

Former Community Member
Hi folks,



I have a document with some properties (File->Form properties) like title, author, description and so on. Now I've read that I can use the xfa.form.form1.desc.title method to access the title. But the only value I get back is [object XFAObject] .. what is this? It's the same with author or description.



Anyone who can help here?



Thx alot,

Tobias
1 Reply

Avatar

Level 6
You need to get the object's value property. So,



xfa.form.form1.desc.title.value;



Jared Langdon

www.jlangdon.ca