Is there code to test if a field is hidden or not?

Hello,

I was wondering if there is formula command to test if a field is being hidden or not? I don’t want to replicate the code that determines if the field is hidden.

Thanks, Paul

Subject: Nothing specific

The field isn’t really hidden as such, the paragraph the field sits in may had the hidden property applied to it.

To find out if your field is hidden that way, you’ll need to export the document as DXL and then analyse the resulting DXL, looking at the para surrounding your fields style.

Subject: No.

That is when it is a good idea to use a computed for display field for each hidden section, have it compute to a true or fals value, then use that field to drive the hide-when formula. Now it is very easy for you to use that field to decide if a section is hidden or not.

Subject: That’s what I tought

Thanks for both responses… pretty much what I figured.

Take care, Paul