Dear phpdocx support team,
I am using phpdocx to generate Word documents and I have a question about adding form elements on the same line as text. I am currently using the following code:
$item->addText('1.1', ['font' => 'Arial', 'fontSize' => 8, 'indent_left' => 10]); $item->addFormElement('select', ['selectOptions' => [' 0 ', ' 1 ', ' 2 ', ' 3 ']]);
However, this adds the form element on a new line instead of on the same line as the text. Is there a way to add form elements on the same line as text using phpdocx?
Thank you for your help.