Forum


Replies: 5   Views: 2894
Need to add two or more merge fields on same line
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 gmane@xento.com  · 13-03-2018 - 04:23

Hello Team,

I need to add two or more merge fields on single line.

Like:  Address <<address_line_1>>, <<address_line_2>>, <<address_line_3>>

I tried using addMergeField() but it's not working as expected.

Output is like below:

Address

<<address_line_1>>

,

<<address_line_2>>

,

<<address_line_3>>

 

Can you please help me for same.

Thanks