Create a fillable form in Writer

From The Document Foundation Wiki
Jump to navigation Jump to search
Other languages:
Deutsch • ‎English

Page in Work!


This description refers to the version LibreOffice 6.

The video ″Ein ausfüllbares Formular erstellen V6″-[DE] ("Create a fillable form V6") links to this page here for more information and details.

The document used in the video can be downloaded here.

Link to the video

Link to the video [in German DE]:

"Ein ausfüllbares Formular erstellen in Writer - LibreOffice 6"

Create a sales contract form

LibreOffice 6 - Create a purchase contract as a fillable form in Writer as ODT and export to PDF for use.

Use existing document for the form

To show how to create a fillable form, we take a ready-made ODT file Bill of sale about used item_V6.odt.

The captions and required text passages have already been created in this file.

The contained "framed boxes" are all tables.

Controls (fillable fields) insert

Toolbar: Form Controls - (LO-

In Writer we can now insert so-called controls in the open file.

To do this we select the menu Ansicht ▸ Symbolleisten ▸ Formular-Steuerelemente and get the toolbar, see picture right:

Here the text field is often used - Beispiel: Textfeld.

Draft mode

The Form Controls toolbar has the Design Mode Switch icon 201905 ENLOHB Symbol Design Mode.png.

This switches to the "Edit form fields" or "View form fields" work mode.

If the control icons are greyed out, click on "Design Mode" toggle.

Text box(es)

To insert a text field into the form, click on the "Text field" 201905 ENLOHB Symbol Text box.png icon.

The cursor changes its appearance, becomes a crosshair with a small rectangle next to it.

We position the crosshairs on the imaginary upper left corner of the text field to be created.

Holding down the left mouse button, we open a text box and let go.

The sidebar should be visible (Menu View ▸ Sidebar should have a checkmark), otherwise click on it.

In the sidebar, click the "Sidebar Settings" 201905 ENLOHB Symbol properties.png icon to make the properties sidebar visible).

There the width and height of the text field can be adjusted, if the text field was raised and marked.

Double-clicking on the text field opens the Dialog "Properties: Text Box".

Here also the width and height can be set, as well as further specifications for the text field are made.

For our form we set the height of all text fields to 0.60 cm.

The width is adapted to the circumstances.

For the given height of 0.60 cm the font "Calibri" and a font size of 9 pt are set.

In order to avoid having to adjust all values for the text fields, we copy the inserted text field and insert the next placeholder.

For a clear assignment of the text fields, the name of the text field should be changed (for example: text field 1, text field 2, text field 3, etc.).

So now all required text fields are inserted and possibly even in width still adapted.

Here are the entries for the text fields:

Entries for : Text field 1 bis 12 Text field 13 bis 16 Text field 17 bis 19 Text field 20 bis 22 Text field 23 bis 25 Text field 26 Text field 27 bis 29
Font Calibri Calibri Calibri Calibri Calibri Calibri Calibri
Font size 9 9 9 9 9 9 9
Text highlighting Default Default Default Default Default Default Default
Width 8,00 cm 13,60 cm 16,60 cm 16,60 cm 16,60 cm 13,60 cm 6,60 cm
Height 0,60 cm 0,60 cm 0,60 cm 0,60 cm 0,60 cm 0,60 cm 0,60 cm

Numeric Field(s)

We'll click on the "Form Controls" toolbar on the symbol "Numeric Field" 201905 ENLOHB Symbol Numeric Field.png.

This is required for the stated EURO amounts (shown in numbers, for example 200.00).

This excludes that a text is entered from provided.

We also adjust the numerical fields in height, width and font, like the text fields in the Dialog box: "Properties: Numeric Field".

Here the orientation is set to "Left".

Here are the entries for the numerical fields:

Entries for: Numeric field 1 Numeric field 2
Font Calibri Calibri
Font size 9 9
Text highlighting Default Default
Width 5,20 cm 5,20 cm
Height 0,60 cm 0,60 cm

Date field(s)

Furthermore, we still need three date fields.

Dazu klicken wir auf das Symbol "Date field" 201905 ENLOHB Symbol Date Field.png and pull up a field.

The further adjustments in the dialog box:

"Properties: Date Field" we take, as stated above, before.

Alignment here also "left".

For the "date format" we indicate in the dialog box "DD/MM/YYYY".

Here are the other entries for the date fields:

Entries for: Date field 1 Date field 2 Date field 3
Font Calibri Calibri Calibri
Font size 9 9 9
Text highlighting Default Default Default
Width 6,60 cm 6,60 cm 6,60 cm
Höeight 0,60 cm 0,60 cm 0,60 cm

Save document

After all fields have been inserted, the document must now be saved under a new name if possible, for example: "Bill of sale about used item_V6 - fillable.odt".

Export PDF / Save

In the next step, we conclude with Writer File ▸ Export as ▸ Export as PDF....

In the Dialog that opens "PDF Options" be careful that at 201905 ENLOHB Dialog box PDF Options Create PDF Form.png a check mark is placed.

We click on Export.

In the following Dialogue box "Export" we select our storage location, enter a name and click on Save.

Now we can close Writer.

Fill out the PDF form

We now open the exported PDF file (see: Used working documents) and can now fill out the form.

After the completed filling it is essential to save the PDF file under a new name, e.g. "My completed form".

Additional Information

Possible controls

Toolbar: Form Controls - (LO-
Menu: More Controls
Drop-Down-Menu: More Controls
Size combinations for text fields

The Form Controls and Other Controls toolbars let you choose from a variety of controls:

  • Label
  • Text Box
  • Check Box
  • Option Button
  • List Box
  • Combo Box
  • Push Button
  • Image Button
  • Formatted Field
  • Date Field
  • Numeric Field
  • Group Box

Select from the Form Controls toolbar the Symbol "More Controls". You have in the "More Controls"-toolbar any other choses "▼".

  • Time Field
  • Currency Field
  • Pattern Field
  • Navigation Bar
  • Imagel Control
  • File Selection

And select from the "More Controls" toolbar, click the down arrow. And you have any other choses "▼".

  • Spin Button
  • Scrollbar

Used working documents

working document used

Bill of sale about used item_V6.odt

Bill of sale about used item_V6 - fillable.odt

Bill of sale about used item_V6 - fillable.pdf

Notes on the forms used here

 Note:  As the basis of this form the form "Allgemeiner Kaufvertrag von privat" of was used and can be downloaded for free by anyone.

Please refer:,AllgemeinerKaufvertrag/inhalt.htm there at "Allgemeiner Kaufvertrag von privat - Muster zum Download".

The form used here is only a demonstration of how fillable forms can be created in LibreOffice.

The Document Foundation and the editor Hrbrgr (talk) 2018-03-06T19:22:22 (UTC) of these forms are not responsible for the use of these contract forms, this is at their own responsibility.

- To the top -

Dependence of the height of the fields on the font size

When using the control fields, make sure that there is a dependency between font size and type with the field height.

In our example of use, the font "Calibri" and font size of "9 point" were used for the "Text fields", "Numeric fields" and "Date fields".

Some combinations with font size and type and field height

Examples, see picture: Size combinations for text fields

The values do not always agree 100%.

If in doubt, a test with the desired combination of font, size, etc. should be carried out beforehand.

- To the top -

Further informations

Documentation / Manuals

Here you will find the Documentation / Manuals:

Documentation / Manuals

Any questions?

For questions on this topic go to:


Get Involved

Join us today and help us to make it even better!

Get Involved

LibreOffice is Free Software and is made available free of charge.

Your donation, which is purely optional, supports our worldwide community.

If you like the software, please consider a Donation.

- To the top -