Replies: 1   Views: 1056
Replacelistvariable didn't create list
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 absolutevalue  · 20-05-2021 - 01:02

Hi there, I'm trying to create list with replaceListVariable function like this

$docx->replaceListVariable('info_required', ['hello world', 'hello php'], ['type' => 'block']);

But in docx, it shows like this:

hello world 

hello php 

No numbers or dot prefixed, and actually it's not a docx list. Can you help, thank you.