Computer and Business Skills training

Sign Up
Home / InDesign / Conditional Text

Working with Conditional Text in InDesign


These topics are covered in Module 4 of our Advanced Indesign class.Conditional Text - Panel


1. Open Conditional Text.indd.

2. Choose Window > Type and Tables > Conditional Text to open the panel. The panel already has conditions created and applied to various text items in the layout. Note the two versions of the word "color" and "colour" for the US and UK spelling; also the dimensions on the artwork is in "in" and "cm"; there are also prices for US, UK and Europe.

Note: The text which has a condition applied to it, will have a wavy line below it with the corresponding color of the condition that is applied.

For instructor-led Adobe indesign classes in Chicago and Los Angeles call us on 888.815.0604.



New Condition Dialog Box
3. Click the New Condition button at the bottom of the Conditional Text panel.
4. Name the condition "Price - US" and click OK.


To quickly apply the Price-US condition to all the $ prices, we will use GREP.




Find and Change



5. Choose Edit > Find/Change.
6. Click on the GREP option.

Since the $ sign is a GREP instruction, we cannot type in just a $ to have GREP locate all the $ prices in the layout.



7. Type in "\$" in the Find What field.







8. To look for numbers after the $ sign, click on the button with the @ symbol on it to the right of the Find What field. Choose ww > Any Digit. This will add a '\d" to the search instruction.

Choosing Wildcards


9. To look for more than one number following the $ sign, choose Repeat > One or More Times.

Repeat One or More Times



This will add a "+" to the search instruction. Click the diskette symbol to the right of the Query to save this. Name it: Find Price $$.

10. Click the icon to the right of the Change Format box at the bottom.


Change Format Box


Change Format Setting



11. Once the Change Format Setting box opens, click on the Conditions option.
12. In the list of Conditions, select the Price-US condition. Then click OK.



GREP settings









In the Find/Change box, the Search should target the Document. Click the Change All button. You will see a pop up box showing that 4 changes were made. In the document, the $ prices will now be underlined with the color associated with the condition. Once the text that is variable has all the conditions applied to it, the visibility of the different
text items can be managed through Sets.













Conditional Text

13. In the Conditional Text panel choose Show Options form the panel menu. This will open a section at the bottom of the panel where sets can be created to manage multiple conditions.
14. Click on the eyeball next to the conditions that should not be visible, to turn them off, since all the conditions are currently visible. Turn off the following conditions: Price-US; Price-Europe; Size Europe and Text US/Europe. The conditions left visible will show just the UK version text.
15. Click on the pull-down menu to the right of the Set: and choose Create New Set....












Conditional Text - UK Price Sheet



16. Name the set UK Price Sheet.
17. Repeat the same process for the US and Europe versions on the sheet.
18. Once you have created the sets, select each of the three sets from the pull-down menu to switch between each version of the price sheet showing just the text that relates to that version.

Note: [Unconditional] text is the text that is visible at all times. The text with different conditions applied does not need any spaces between the words for each condition.

Each set of conditions will manage the visibility of each version of the price sheet for the US, UK and European options.


Condition Set Name




Practice with the names and conditions to create your own conditions as well. Best to use it when needed to create a document with different languages and still have the same style.

US and UK Price sheets
European Price Sheet


Other InDesign topics

Using conditional images in InDesign



InDesign Reviews

Live face-to-face training is the most effective way to learn Adobe InDesign. We have trained hundreds of students how to use InDesign like professional designers. Click on the following link to view a sample of our InDesign student testimonials.


InDesign courses

Why train with us?Need Group training quotation?Fresh Starbucks brewed every day Book two levels of Excel training and save $100FREE Class Repeat with each course