I am creating a fillable form in LibreOffice Draw. (I previously discovered that forms created in Microsoft Word do not export as live forms. Forms created in Word export as a flat file - in other words, the form fields appear, but cannot be edited.)
.
In LibreOffice, it seems that forms created in LO can be exported to PDF and still act as fillable forms (as expected). The problem seems to be that repeated fields in LibreOffice Writer appear to act as independent fields - even if they have the same field [Name].
.
However, this problem is miraculously fixed when exported to PDF if check marks against both [Create PDF form] AND [Allow duplicate field names] are checked in the PDF Export Options dialog box. See:
- LO Duplicate field names - test 01.odt
- LO Duplicate field names - test 01.pdf
.
In this test form I have three fields (name, address & date) - repeated immediately below. However, although the fields above and below have the same field “names” (Name, Address, and Date) - they behave as though they had different names - i.e. as independent variables. Nonetheless, the exported PDF acts as expected and as intended.
.
Incidentally, for the first one I added BOTH pull down and spin. I assumed that spin would allow skipping from one day to the next, but I was surprised to see that it skipped from one year to the next. This is actually great! I am massively frustrated when asked to fill in my birth date and my finger almost goes numb clicking back from current month until I finally reach my year of birth (epic GUI design failure!).
.
In retrospect, in terms of GUI design the field [Properties Date Field] layout is unwieldly - why are related controls not grouped in some logical fashion. For example, why is [Spin Button] NOT grouped with [Dropdown]?!? And, is there an option to simply type the date (subject to format restrictions)? In any event, the [Properties Date Field] is a little verbose - when for most users they only care about a few variables?
.
Anyway, I would appreciate understanding why the LO Writer test form does not behave as expected - even though the exported PDF does work exactly as expected.
.
Any thoughts?
~~
LO Duplicate field names - test 01.odt (13.4 KB)
LO Duplicate field names - test 01.pdf (20.4 KB)