# Select multiple entries from input list in Writer [closed]

I am creating a document to use as a template for medical notes. I want to be able to tab from input field to input field and make appropriate selections. In some cases it is possible that I would need to select more than one item from a list. Is there any way to make this happen? Thanks in advance.

edit retag reopen merge delete

### Closed for the following reason the question is answered, right answer was accepted by Alex Kemp close date 2015-10-17 01:23:33.832507

Sort by » oldest newest most voted

Yes, this is possible. The easiest way is to insert a ListBox and enable the "MultiSelect" option:

• After inserting the ListBox, right-click on it to open the Context Menu:

• Select "Control" to open the ListBox properties and set "Multiselect" to "Yes":

Alternatively, you could use a set of checkboxes, but this works only if there only a few values to display and to select. For a longer list of values, you should choose a ListBox.

## EDIT:

To populate the ListBox with Data, you will have to bind it to a Data Source. LibreOffice will ask for the DataSource when inserting the control. You can still add the required information using the "Data" tab of the control's properties:

In this example, i've selected the "Bibliography" datasource (a LO Base Database that ships with LO) when i inserted the first form control. Then, i selected the "Author" field from the "biblio" table.

If you didn't select a datasource yet, you can set the datasource later by selecting "´Form" from the control's context menu, tab "data`":

more

That's exactly what I'm looking for, unfortunately, it doesn't seem to work. When I add the ListBox and turn design mode off, I just get an empty rectangle with a non-functioning drop down triangle button. Any suggestions?

( 2012-07-18 18:23:51 +0200 )edit

@Matt: I've emended my answer and added some info how to bind the control to a data source.

( 2012-07-18 18:58:36 +0200 )edit

Thanks, that probably has gotten it to doe what it is supposed to do, but not exactly what I want it to do. I can select multiple entries from a list (although the ListBox must be big enough to see all entries, it doesn't make a true dropdown) but it just leaves those entries highlighted.

( 2012-07-18 19:25:05 +0200 )edit

What I want to do is select entries and have only the selected entries displayed.

( 2012-07-18 19:25:26 +0200 )edit

@Matt: So, if your list has entries A, B, C - you select A and C - then B should "disappear" from the list? I fear this isn't possible - maybe using a macro to modify the data source, but this would be quite complicated (what if the user wants to revise his selection?).

( 2012-07-18 21:04:22 +0200 )edit

I am beginning to realize it is not possible in LibreOffice. Thanks for your help. Just to clarify though, theoretically the "list object" would exist in the document independent of what is displayed/printed. Thus selecting items from the list displays them but does not alter the list.

( 2012-07-18 22:31:51 +0200 )edit

That would make revisions relatively easy. I have seen this functionality in software such as EPIC, but was not aware just how complex it must be. Thanks again for your assistance.

( 2012-07-18 22:32:46 +0200 )edit