Multiple Conditional Tags (FM2023)
We have a Conditional Tag (AU) for content that is specific to Australia and a Conditional Tag (NZ) for content specific to New Zealand. We also have documents with generic content that apply to both. However, there may be subtle differences (e.g. terminology) that is specific to Australia or New Zealand. Instead of maintaining different versions, we assign the respective Conditional Tag to the Australian/New Zealand-specific content.
It sometimes happens that this common content may have additional text that is applicable only if the content is used in relation to a specific product. For those, we have another Conditional Tag (e.g. PPLQG_CASHOUT) that is applied to said content.
We have a scenario where within the same document, we have content with all three Conditional Tags (AU, NZ, PPLQG_CASHOUT) applied to various content, e.g.
- Paragraph A: Conditional Tag AU (only shown for AU)
- Paragraph B: Conditional Tag NZ (only shown for NZ)
- Paragraph C: Conditional Tags NZ & PPLQG_CASHOUT (only shown for NZ and for product PPLQG_CASHOUT)
Showing Conditional Tag AU works as expected. Only Paragraph A is shown.
Where we have difficulty is with Paragraph B and Paragraph C. Paragraph B should show when Conditional Tag NZ is shown. (Working as expected). However, Paragraph C is also showing, even though Conditional Tag PPLQG_CASHOUT is hidden.
We tried using the Expresssion, but couldn't get that to work correctly. Put simply, we want to be able to say:
- If Conditional Tag AU is shown, show Paragraph A only
- If Conditional Tag NZ Is shown, show Paragraph B only
- If Conditional Tag NZ and PPLQG_CASHOUT is shown, Show Paragraph B and Paragaph C.
Any suggestions on how to achieve this?
Added: The only way we've managed to achieve this is by having a conditional tag PPLQG_CASHOUT_NZ applied to Paragraph C only, resulting in the following scenario:
- Paragraph A: Conditional Tag AU (only shown for AU)
- Paragraph B: Conditional Tag NZ (only shown for NZ)
- Paragraph C: Conditional Tags PPLQG_CASHOUT_NZ (only shown for PPLQG_CASHOUT_NZ)
Have someone found a better way to manage this?
