Hiding Text
You can use fields and sections to hide or display text in your document if a condition is met.
Before you can hide text, you must first create a variable to use in the condition for hiding the text.
To Create a Variable
-
Click in your document and choose \<emph\>Insert - Fields - Other\</emph\>.
-
Click the \<emph\>Variables \</emph\>tab and click "Set Variable" in the \<emph\>Type \</emph\>list.
-
Click "General" in the \<emph\>Format \</emph\>list.
-
Type a name for the variable in the \<emph\>Name \</emph\>box, for example, "Hide".
-
Enter a value for the variable in the \<emph\>Value \</emph\>box, for example, "1".
-
To hide the variable in your document, select \<emph\>Invisible\</emph\>.
-
Click \<emph\>OK\</emph\>.
To hide text:
-
Click in the document where you want to add the text.
-
Choose \<emph\>Insert - Fields - Other\</emph\> and click the \<emph\>Functions \</emph\>tab.
-
Click "Hidden Text" in the \<emph\>Type \</emph\>list.
-
Enter a statement in the \<emph\>Condition \</emph\>box. For example, using the variable you previously defined, enter "Hide==1".
-
Type the text that you want to hide in the \<emph\>Hidden text \</emph\>box.
-
Click \<emph\>OK\</emph\>.
To hide a paragraph:
-
Click in the paragraph where you want to add the text.
-
Choose \<emph\>Insert - Fields - Other\</emph\> and click the \<emph\>Functions \</emph\>tab.
-
Click "Hidden Paragraph" in the \<emph\>Type \</emph\>list.
-
Enter a statement in the \<emph\>Condition \</emph\>box. For example, using the variable you previously defined, enter "Hide==1".
-
Click \<emph\>OK\</emph\>.
You must enable this feature by removing the check mark from menu \<emph\>View - Hidden Paragraphs\</emph\>. When the check mark is set, you cannot hide any paragraph.
To hide a section:
-
Select the text that you want to hide in your document.
-
Choose \<emph\>Insert - Section\</emph\>.
-
In the\<emph\> Hide\</emph\> area, select\<emph\> Hide\</emph\>, and then enter an expression in the\<emph\> Condition\</emph\> box. For example, using the variable you previously defined, enter "Hide==1".
-
Click \<emph\>OK\</emph\>.