InDesign has always supported the use of layers, but layers dont always cut it when working with text. You can put a text frame on a layer and turn that layer on and off as needed, but its an all or nothing approach. What if you want to show and hide individual words or paragraphs and have the text automatically rewrap when you show or hide those words? With conditional text, its a breeze.
1 [FIRST, WELL NEED A NEW DOCUMENT]
You can certainly use one of your existing documents for this, but if youre going to follow along, you might want to go ahead and create a new document. Choose New>Document from the File menu. One page should be fine.

2 [CREATE A LARGE TEXT FRAME]
In this example, were going to lay the foundation for a model release form that will vary depending on whether the model is an adult or a minor. So create a large text frame using the Rectangle Frame tool (F).

3 [KEY IN TEXT FOR YOUR FIRST CONDITION]
Choose the Type tool (T), and at this point you can key in all of your text that will be a part of your first condition. For this example, were going to key in the bulk of the text for the release form as if it were for an adult model.

4 [OPEN THE CONDITIONAL TEXT PANEL]
Conditional text is a new feature in InDesign CS4, and it has its own panel. You can open it a couple of ways: you can simply choose it from the Window>Type & Tables menu or you can select the built-in Book workspace from the drop-down menu at the right side of the Application Bar.

5 [CREATE A NEW CONDITION]
You can set up as many conditions as you need. Think of conditions as layers for your text within a text frame. So our first condition will be for models 18 and over. This will be the language in the agreement that states that the model is at least 18 years old and doesnt need parental consent to sign. Click the New Condition icon at the bottom of the Conditional Text panel. Name your condition in the resulting dialog and click OK.

6 [APPLY YOUR NEW CONDITION TO YOUR TEXT]
With your new condition created, the next thing you need to do is apply it to all of your text that matches that condition. Dont worry about the text that you want to remain the same for all versions of the document, as it automatically defaults to Unconditional. You only need to apply the condition to the text that you want to show and hide. So in this example, well highlight Im of full age and then click the Over 18 condition to apply it. Well also repeat this with Models Signature. You should see a wavy blue line under any text you applied the condition to.

7 [HIDE YOUR FIRST CONDITION]
After youve highlighted each instance of your first condition and applied it in the Conditional Text panel, youre ready to key in the text for your second condition. However, it would be much less confusing if the first conditions text wasnt showing. So click the Eye icon in front of your first condition to hide all the text matching that condition. This will also help you find anything you may have missed.

8 [KEY IN THE TEXT FOR YOUR SECOND CONDITION]
Now that youve hidden the text for your first condition, its time to key in the text that will be used for your second condition. In this case where it originally said, I am of full age, were going to key in the text Im under the age of 18 and therefore my parent or legal guardian will sign. Well also type Parents Signature where Models Signature originally appeared.

9 [CREATE YOUR SECOND CONDITION]
Now that your text is in place for your second condition, lets create it. Go to the Conditional Text panel, click the New Condition icon, name your second condition (in this case Under 18), and click OK.

10 [APPLY THE SECOND CONDITION TO YOUR TEXT]
Just like you did in Step 6, youre now going to apply your second condition (Under 18) to the new text. Using the Type tool (T), highlight each instance of text matching your second condition, and then click your second condition in the Conditional Text panel to apply it. You should see a red wavy line this time. (Note: When youre creating a new condition, you can change how its going to be highlighted in your document by changing the settings in the Indicators section of the New Condition dialog. Or you can double-click an existing condition in the Conditional Text panel to change those options.)

11 [SHOW AND HIDE YOUR CONDITIONS TO TEST]
At this point you have an InDesign document working with Conditional Text. You can show and hide either condition to allow for printing and exporting. You can use this technique for a variety of situations, not the least being price lists. The beauty here is that your text will automatically rewrap based on which condition is showing.

12 [CREATE MORE CONDITIONS AND APPLY THEM]
Now that you know how to create conditions and apply them, its time to make it a little more interesting. Lets say its a paid shoot versus a trade. Either of those conditions could apply to either of the previous two conditions. So it could be an over 18 model doing a trade or an under 18 model doing paid work, or vice versa. Create two new conditions revolving around the first line that talks about pay.

13 [USE CONDITIONAL TEXT SETS]
When you have two or more conditions that could be used together, then its time to break out conditional text sets. A conditional text set is a group of conditions that can be turned on all at once. Choose Show Options from the Conditional Text panel flyout menu. Then turn on the conditions that will apply to your new set. Example: Paid and Over 18. Then from the Set drop-down menu, choose Create New Set. Now youll have a set to choose that will automatically turn on those two conditions and turn off the others. You can make as many sets as you need.
















[...] Magazine has an article on using Conditional Text in InDesign. Aside: ten years later, I still hate the phrase, “in InDesign.” [...]
[...] Conditional Text and InDesign CS4 [...]
Excellent. TYVM. Beginner here. I had to reread a few times to get the set working, but that’s my fault; always did skim instructions rather than read. Clare H.
Conditional Text sounds interesting, but i need it to work like FrameMaker or do i need a plugin for this option?
I use conditional text in FrameMaker to mark the top and bottom of my pages its highest restriction for that page. For example. I have a page that is unclassified and one of the paragraphs is For Official Use Only, so i want to conditional the paragraph to be FOUO and the top of the pages will have a marker that will insert “For Official Use Only” at the top and the bottom of the page. Is this doable in InDesign CS5.