Replies: 2   Views: 442
Is it possible to use the word mail merge functionality ?
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 nico@caplaser  · 16-07-2021 - 10:06

In a docx I have some mail Merge fields.

Is it possible to use these fields and to replace them by some values like we do with the place holder basic syntax ?

Posted by admin  · 16-07-2021 - 11:38


What version and license of phpdocx are you using? The best approach is working with the default placeholder system, but using DOCXPath you can query and replace mailmerge fields by new values and WordFragments.


Posted by nico@caplaser  · 16-07-2021 - 12:50

I use the latest trial version of phpdocx in order to see what can and can't be done. DOCXPath is'nt accessible with the trial so I can not test this feature for the moment.

Thank you for your answer.