Skip to main content
Participating Frequently
May 5, 2025
Answered

date field without text field

  • May 5, 2025
  • 3 replies
  • 1050 views

Hello

I have a client that wants a date drop down field but does not the ability to add text manually.

Wants only the date present through the drop down.

Is this possible?

Thanks

Correct answer PDF Automation Station

I am working with a document built in LiveCycle Design and the field does not reset automaticaly.

Do you know what the script is in Acrobat Java.

I am not very experienced with JavaScript.

I appreciate you responses.

Thank you


Custom format script:

AFDate_Format("mm/dd/yyyy");

Custom keystroke script:

AFDate_Keystroke("mm/dd/yyyy");

You need both.

3 replies

JR Boulay
Community Expert
Community Expert
May 7, 2025

MagicDate picker is a (free) full JavaScript date picker (not using form fields), so it should work in Designer too.

It comes with a button field feeding a landing text field, and therefore do what you need.

Search for "Landing field" on this page: https://www.abracadabrapdf.net/utilitaires/utilities-in-english/magicdate-picker/

 

Acrobate du PDF, InDesigner et Photoshopographe
Participating Frequently
May 6, 2025

This is what I am talking about. Also I am working in Designer.

PDF Automation Station
Community Expert
Community Expert
May 6, 2025

I don't understand what you are asking.  Do you want a dropdown field or a date field with a popup calendar?

Participating Frequently
May 6, 2025

I need the drop down to populate with a calendar without being able to create there own text.

When they click to add text it errors out. No Text. Drop down Only.

Is it possible?

PDF Automation Station
Community Expert
Community Expert
May 5, 2025

Long before Adobe added date pickers to date-formatted fields, I developed a (paid for) date picker tool.  You can set the text field to read only and use the date picker tool to select the date:

https://www.pdfautomationstation.com/products/item7.cfm