How can I make a listbox item to show in other parts of a document

Hello!
I am trying to create a form in Libre Office Writer and I have the following situation: I have a list box with choices 1, 2, 3…10. The form user makes a choice, let’s say 4, and this choice should appear in other places in the document preferable as plain text, but not necessary (I would be happy even with another instance of the list box that mirrors the choice made initially - in this case choice 4).

ex:
TEXT TEXT TEXT (list box with choice 4 selected) TEXT TEXT TEXT TEXT TEXT TEXT (choice 4) TEXT TEXT TEXT (choice 4) TEXT TEXT TEXT …and so on.

Any help on how to implement this would be really helpful

Thank you in advance for your answers!

If you do not have a database file behind it and cannot use a true form, fields might help you. First define the list, then set a bookmark on it and in the following text set a reference to this bookmark. In detail:

  1. Set cursor at the position where the list should appear. Menu Insert > Field > More Fields > tab Functions > item Input List. Name the list in the field bottom right.
  2. Top right write an item and click Add. Write the next item, click Add, …. If the list is defined, click on Insert and then on Close.
  3. Mark the shown list item in the text. Then menu Insert > Bookmark. Use a meaningful name for the bookmark. Click Insert.
  4. Set the cursor at the position where the chosen list item should be shown again. Menu Insert > Cross reference. Select Type Bookmark and then your Bookmark. Then look to the lower left part. It has a list ‘Insert reference to’. From that list you need the item Reference. Insert. Close.

To change the list item, click on the initial item text. A dialog opens where you can select a different value. After OK, the value at all other places in document will change automatically. At this place you can edit the list later on too. For selecting an item, you can double-click any of the other places too.

The advantage of such input list over a list form control is, that it adapts automatically to the style of the surrounding text.

I hope that is what you are looking for.

Thank you very much! It was just what I was looking for. You cannot imagine how much I have tried to solve this issue.

Thank you!

Best regards,
Razvan

Please, if the answer solves the question click :heavy_check_mark:.