I am trying to create a PDF document with several text fields that can grow in height to some maximum value. Due to the limitations of the project, I am using Adobe Designer 7, which is happy to allow Javascript. However, objects in XFA are slightly different from the HTML DOM or earlier PDF DOMs.
So, I know for sure that my TextField1 field has certain attributes, such as "h", which controls the height.
The code below lists only the TextField1 methods and not the attributes:
----- form1.Page1.TextField1::exit - (JavaScript, client) ----- for(var i in xfa.form.form1.Page1.TextField1) { try { console.println(i); } catch(e) {} }
Why? (And how can I fix it so that it displays attributes?)
Something very similar to the code above works, but I lost a fragment due to negligence and a very short rollback.
source share