Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How do I iterate through a subform structure ?

Avatar

Level 3

  I have subforms which have individual fields which I have to set access either open or protected.  Instead of listing each single field, is there a way I can use a for loop to iterate through the subform and set each field access as needed?

6 Replies

Avatar

Level 10

If you just set the access on th esubform then all children in that subform will inherit that paroperty

Paul

Avatar

Level 3

I tried that.

Subform.access = “protected”; didn’t work.

Avatar

Level 10

What is the target version of your form?

Paul

Avatar

Level 3

I don’t understand your question. What is a target version?

Avatar

Level 10

The target version describes for what Acrobat/Reader version you form is designed.

You can set the target version in Designer unter the form properties > defaults > choose Target version.

The higher the target version the more functions are available for the form.

Avatar

Level 3

That’s unfortunate because we aren’t using Acrobat/Reader to read the forms. We’re using a product called FormStream Filler. Anyway, I stumbled onto a technique used in a previous form here. I don’t understand everything about it, but I was able to replace enough code to get it to work with my form. Suffice to say it has a lot to do with nodes.

Thanks for answering.