Expand my Community achievements bar.

SOLVED

How to hide object whithout data

Avatar

Level 2

Hello,

I would like to know if there is a way to hide the object caption like on texfields when no data (node) is sent on the XML file.


Also is it possible flow the layout up when this object is hidden for not having data?

I'm working with LiveCycle Designer ES2.

Thank you.

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can hide the TextField when no data is present instead of only the caption, if you would like.

     TextField1.presence = "hidden";

Also for your second question:

     If you set the form Subform as Flowed, then it will readjust the sections when one of them is hidden.

Thanks

Srini

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You can hide the TextField when no data is present instead of only the caption, if you would like.

     TextField1.presence = "hidden";

Also for your second question:

     If you set the form Subform as Flowed, then it will readjust the sections when one of them is hidden.

Thanks

Srini

Avatar

Level 2

Thank you for your quick response, it worked great.