Forum


Replies: 3   Views: 1134
How do i create an inline combobox?
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 radu97  · 27-01-2021 - 14:15

Hello all! How do i create an inline combobox / dropdown? 

I've tried the following:

  1. 1. Creating a WordFragment with a std element  and add it using the "replaceVariableByWordFragment" function. It worked but it removed the entire paragraph.
  2. 2. Creating a select form element. It also worked but i am not able to change its selection if the document is not locked. 

 

Is there a way to create an inline std element or a form element which is editable even if the document is not locked? Thank you!