Fillable PDF Form Date Field

Hi
I’ve created a form and exported to PDF with a date field but the field doesn’t seem to be working. I am able to type anything into the field, and i added the dropdown to get a date picker (suggestion on another topic), I set a default date but neither are appearing.
I’m new to Libre so any advice is welcome.
Thanks

Seems like the PDF format forms don’t support date fields with a date picker. For the remainder, see Hrbrgr response.

1 Like

Insert a date field.
Format the date field if necessary.



Export the document with File>Export As>Export as PDF.



In the dialog “PDF Options” set a check mark at “Create PDF form”.



Click Export.


79889 HB Fillable PDF Form Date Field.odt (9,8 KB)

79889 HB Fillable PDF Form Date Field.pdf (15,4 KB)

Thanks Hrbrgr, I did all those suggestions and get the same results you do.

I tested the links to the PDFs you sent and there is no sort of validation on it you can type anything in, just like a text field.

I can change the default date.

79889 HB Fillable PDF Form Date Field

For PDF view I use Adobe Acrobat Reader DC (64-bit).


With me:
Version: 7.3.5.2 (x64) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL


Please do not use answer (solution) boxes.
Edit your initial question or write comments. Thank you.

Yes, I can change the placeholder date in your example. I said that there is no sort of validation and you can type absolutely anything into the box like a normal text box. You would have thought that a date field would be restricted to the date format that is set, or at least only allow numeric characters.

You specify the validation in the properties (Date min and Date max).

However, the defaults from LO may not be applied in the PDF.


You can check if there is a bug entry for it, otherwise you can create a bug on Bugzilla.

I know exactly what you’re talking about, you’ve created a PDF in LibreOffice Draw and have included the Date selector, when you export a PDF the field becomes a plain old text field. I’ve not found a way to do this either.

image

and I can’t upload the other screenshot, but its just a plain text field.

Because it is impossible to “export” internal services of LibreOffice to pdf. However it is possible to create similiar effects with embedded JavaScript in pdf.
But this can’t be developed in LibreOffice and you have to find another solution to embedd this scripts (try scribus).
Further problem: Not all pdf-viewrrs support JavaScript. (Fie Security my company has a very simple software as default-viewer - so no fancy scripts

Yeah I understand the issue and its not something that Libre can specifically fix because it’s not something to fix.

It’s more of a “it would be great if this worked across all PDF systems. . .” feature.