Ask Your Question

How can I make a listbox item to show in other parts of a document. [closed]

asked 2019-07-14 13:17:07 +0200

Razvan gravatar image

updated 2019-07-14 13:21:47 +0200

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!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Razvan
close date 2019-07-15 09:25:16.439222

1 Answer

Sort by » oldest newest most voted

answered 2019-07-14 21:51:30 +0200

Regina gravatar image

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.

edit flag offensive delete link more


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

Razvan gravatar imageRazvan ( 2019-07-14 22:48:52 +0200 )edit

Please, if the answer solves the question click ✔.

m.a.riosv gravatar imagem.a.riosv ( 2019-07-15 01:21:29 +0200 )edit

Question Tools

1 follower


Asked: 2019-07-14 13:17:07 +0200

Seen: 27 times

Last updated: 22 hours ago