Multiple conditional-section in one paragraph

New Here ,
Sep 23, 2021 Sep 23, 2021

Copy link to clipboard

Copied

Hello everyone,

 

I'm trying to make a docx template where for some paragraphs one or another word would appear in the paragraph. This is how I'm trying to achieve it: 

...voornoemde {% conditional-section expr(hasCollectiveAgreement = true) %}cao{%
end-section %}{% conditional-section expr(hasCollectiveAgreement = false) %}Policy
Eindejaarspremie{% end-section %}.

Document merging works fine if I use only one conditional-section within a paragraph, but whenever there are two side by side like shown above, the merging process doesn't pick the conditionals and leaves the text with as is. I tried putting some text netween the two conditional-sections but it didn't work.

How can I solve this ?

Views

62

Likes

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
no replies

Have something to add?

Join the conversation