The video "Ein ausfüllbares Formular erstellen in Writer - LibreOffice" ( "Create a fillable form") links to this page here for more information and details.
The document used in the video can be downloaded here.
Basis of this description is the Online Help Form Controls
Link to the video
Link to the video [in German DE]:
Create a sales contract form
LibreOffice - 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, you can 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.
Form Controls insert
In Writer you can now insert so-called Form Controls in the open file.
Form Controls are the fillable Fields in the document.
Here the text field is often used - Example: Textfield.
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.
You can position the crosshairs on the imaginary upper left corner of the Text Box to be created.
Click-hold-drag left mouse button to open a Text Box and then release.
In the sidebar, click the "Sidebar Settings" icon to make the properties sidebar visible.
There the width and height of the Text Box can be adjusted, if the Text Box was raised and marked.
Double-clicking on the Text Box opens the "Text Box > Properties" dialog.
Here also the width and height can be set, as well as further specifications for the Text Box are made.
For our form we set the height of all Text Box 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 Box, we copy the inserted Text Box and insert the next placeholder.
For a clear assignment of the Text Box, the name of the Text Box should be changed (for example: Text Box 1, Text Box 2, Text Box 3, etc.).
So now all required Text Boxes are inserted and possibly even in width still adapted.
Here are the entries for the Text Boxes:
|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|
|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|
This is required for the stated EURO amounts (shown in numbers, for example 200.00).
This excludes that a text is entered from provided.
You also adjust the Numerical Fields in height, width and font in the "Numeric Field > Properties" dialog.
Here the orientation is set to "Left".
Here are the entries for the Numerical Fields:
|Entries for:||Numeric field 1||Numeric field 2|
|Width||5,20 cm||5,20 cm|
|Height||0,60 cm||0,60 cm|
Furthermore, you still need three Date Fields.
The further adjustments in the dialog:
"Date Field > Properties", proceed as mentioned above.
Alignment here also "left".
For the "Date Format" you indicate in the dialog "DD/MM/YYYY".
Here are the other entries for the Date Fields:
|Entries for:||Date field 1||Date field 2||Date field 3|
|Width||6,60 cm||6,60 cm||6,60 cm|
|Höeight||0,60 cm||0,60 cm||0,60 cm|
Simultaneous change to multiple form fields
You can also change the properties of multiple form fields at the same time.
Select▸ from the menu.
In the Form Navigator dialog, select the form fields you want to change.
You can do this with ⇧ Shift + Click resp. Ctrl + Click, each time on a form label.
Then right-click on one of the form labels and select "Properties" from the context menu.
In the "Properties: Multiselection" dialog, you can now change the desired properties.
For example, set the background color to orange.
In the "Form Controls" toolbar you will find four Manage icons on the left side.
Select arrow icon
Design Mode icon
Toggle Form Controls Wizards icon
Use these Wizards to enter the properties of List Boxes, Table Control, and other Form Controls.
Form Design icon
Form Design toolbar
As mentioned above, the Form Design toolbar can be toggled on or off using the Form Design icon on the Form Controls toolbar.
But it can also be done from the▸ ▸ menu.
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
Create PDF form
In the next step, you conclude with Writer▸ ▸ .
In the Dialog that opens "PDF Options" be careful that at a check mark is placed.
Also pay attention to the possibility to allow duplicate field names or not.
In the following Dialog "Export" you select our storage location, enter a name and click on.
Now you can close Writer.
Create a hybrid PDF
Fill out the PDF form
Now open the exported PDF file in a PDF reader (e.g. Adobe Reader), see: Used working documents.
Now you can 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".
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 Boxes
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.
New Content Controls in Writer V7.4/7.5
Used working documents
working document used
Notes on the forms used here
Note As the basis of this form the form "Allgemeiner Kaufvertrag von privat" of markt.de was used and can be downloaded for free by anyone.
Please refer: http://www.markt.de/contentId,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.
Documentation / Manuals
Here you will find the Documentation / Manuals:
For questions on this topic go to:
Join us today and help us to make it even better!
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.