Expand my Community achievements bar.

SOLVED

How to get some statistics on the form.

Avatar

Former Community Member

 

I have to run some statistics about my form. There is some kind of macro that you can install and will give you a number of fields and subforms on your form…can someone please provide a link to the tool?

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can use a recursive function to determine all objects with a specific className.

This example looks for subforms, fields and script under beginning with node "xfa.template".

View solution in original post

5 Replies

Avatar

Level 5

Hi,

Assuming you are using designer ES2 and you are referring to the macro ability then I believe this should do what you want.

http://blogs.adobe.com/formfeed/2011/09/more-macro-goodies.html

Hope this helps

Malcolm

Avatar

Former Community Member

This is great tool, works for almost all of my forms except for the one I need to run statistics for. Does anyone have any other tool that will give me the number of script lines for the entier form and number of all fields, subforms etc.

Thanks.

P>S. when I said it does not work, I mean it gives me only info form the form's properties tab, but not info related to number of objects and their properties.

Avatar

Correct answer by
Level 10

You can use a recursive function to determine all objects with a specific className.

This example looks for subforms, fields and script under beginning with node "xfa.template".

Avatar

Former Community Member

That was perfect solution. Thank you so much!