Replies: 2   Views: 3070
Placeholder variables in textboxes
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 liam.whan  · 12-12-2012 - 22:17

Hi folks,

I have identified a repeatable error.

If I place a placeholer variable inside a Textbox within a Template, the resulting .docx is corrupted (the file will still open in Word 2010 if you allow it to repair).

Any idea why this might be happening?

Using PRO.



Posted by admin  · 11-04-2013 - 12:13


What value are you replacing the placeholder?, are you using replaceTemplateVariableByHTML, altchunk tag, text or any other?