Replies: 1   Views: 4285
How to use word-fields in template variables
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by Jens Schmidt  · 12-04-2014 - 14:37


I'm looking for a way, to embed Word-Fields like {NUMPAGES} into the replacements (HTML) for template variables. Purpose is, to use these fields inside dynamically generated content, like html-tables etc. which will be inserted by replaceTemplateVariableByHTML.

Is there any solution for this?

Thanks for your replys.