How do I Grey out Tab Label if fields within are empty?
How do I cause a Tab label to grey out if there is nothing in the field in the tab?
Thank you for your post.
At this time, a tab label cannot gray out based upon the contents of a field. However, you can format an object to gray out if a field is empty. Therefore, change your tabs to zero width and create new text objects to simulate a tab. That way, you can conditionally format the text object to be gray if the field is empty. That is, in Layout Mode, create a text box, select the text, pull down the Format menu and select "Conditional...". Set the formula: IsEmpty ( <the field in question> ), and set the Text Color to gray.
If you need further clarification, please let me know.
There may be another way, but I use the following
patterncount(getLayoutObjectAttribute("webviewer_object_name";"content") ; "</html>" ) > 0
As you can see, im checking whether the webviewer's content contains the ending html tag </html> but you can adapt it to your preference or simply use something like
isempty( getLayoutObjectAttribute("webviewer_object_name";"content") ) //Ive not tried this one
Retrieving data ...