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.
Thank you for replying. I ended up having to leave the tabs as they were so that I could activate each one and after changing the label text color to white to hide them I made up new object labels and applied the conditional greying out formating based on an empty field. I still have a question on one of the layouts. How do I write a formula that bases the conditional formatting on whether or not the web viewer is empty or not?
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
Thank you I will give this a try.