Forum


Replies: 1   Views: 998
Modifyinputfields with line breaks
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 fjaeger  · 26-10-2021 - 14:19

How can I add a line break while using modifyInputFields()?

Posted by admin  · 26-10-2021 - 14:42

Hello,

What license and version of phpdocx are you using?

The modifyInputFields method doesn't allow adding line breaks to the contents, but using the latest release of Advanced and Premium licenses of phpdocx and DOCXPath you can replace and add contents in rich text fields (not all input fields accept line breaks) such as new contents with line breaks.

Regards.