antonmihaylov / OpenXmlTemplates

Word .docx templating system that is designer (no scripting tags) and server-friendly (no word installation required)
GNU Lesser General Public License v3.0
92 stars 25 forks source link

Is it possible to use conditionalRemove inside repeating complexeItems list #41

Open YOUSSEFBHM opened 10 months ago

YOUSSEFBHM commented 10 months ago

how to use conditionalRemove inside repeating complexeItems list we have to show the address if only showAddress = True

the json is smthg like

{ "complexItems": [ { "name": "First Name", "showAddress": True, "address": { "street" : "street 1" , "city" : "city 1"} }, { "name": "Second name", "showAddress": False, "address": { "street" : "street 2" , "city" : "city 2"} } ] }

how to achieve the result