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 Insert - Field - More Fields.
-
Click the Variables tab and click "Set Variable" in the Type list.
-
Click "General" in the Format list.
-
Type a name for the variable in the Hide.
box, for example, -
Enter a value for the variable in the 1.
box, for example, -
To hide the variable in your document, select Invisible.
-
Click
and .
To Hide Text
-
Click in the document where you want to add the text.
-
Choose Insert - Field - More Fields and click the Functions tab.
-
Click "Hidden Text" in the Type list.
-
Enter a statement in the Hide==1.
box. For example, using the variable you previously defined, enter -
Type the text that you want to hide in the Hidden text box.
-
Click
and .
To Hide a Paragraph
-
Click in the paragraph where you want to add the text.
-
Choose Insert - Field - More Fields and click the Functions tab.
-
Click "Hidden Paragraph" in the Type list.
-
Enter a statement in the Hide==1.
box. For example, using the variable you previously defined, enter -
Click
and .
You must enable this feature by removing the check mark from menu View - Hidden Paragraphs. 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 Insert - Section.
-
In the Hide==1.
area, select , and then enter an expression in the box. For example, using the variable you previously defined, enter -
Click
.