• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Question about using Conditional Tags on a variable

Community Beginner ,
Oct 13, 2017 Oct 13, 2017

Copy link to clipboard

Copied

I have Framemaker 12. I have a variable and I want to apply a conditional tag to some of the text to show/hide. Can this be done? I'm very new to using Conditional tags. Thanks

Views

258

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2017 Oct 16, 2017

Copy link to clipboard

Copied

There's not much beyond text and character tags that you can insert into variables, so you'll probably need to define multiple variables, and then conditionalize the variable itself.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 16, 2017 Oct 16, 2017

Copy link to clipboard

Copied

LATEST

Martha,

   You can apply a condition tag to an instance of a variable, but cannot use condition tags within the definition of a variable. As Matt mentioned, you can break the content into multiple variables, but then each time you want to use the entire sequence, you need to remember to insert all the variables and to apply condition tags to some of them.

   An alternative is to avoid variables entirely. If the content you want to repeat is an entire paragraph, you can enter the paragraph once as text, applying condition tags appropriately. For later instances, you can use a cross-reference whose format is <$paratext>. It is more likely that you want to use this content within a paragraph that contains other text as well. You can create a text flow on a reference page and place the repeating content within it. You can then create cross-references to the reference page paragraph within paragraphs on body pages.

   In either case, whenever you change Show/Hide settings for conditional text, update cross-references to see the appropriate conditional text.

--Lynne

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines