• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Default text for date time field

Community Beginner ,
Aug 07, 2020 Aug 07, 2020

Copy link to clipboard

Copied

I would like to be able to create a date time field in a form that displays a message like "Select a date" until the user clicks to choose the date. Is something like this possible in Adobe Acrobat 2017? If so, how?

TOPICS
PDF forms

Views

416

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 08, 2020 Aug 08, 2020

Here's one of my "Band-Aid"    Acrobat remedies.

 

If you still need to use the date picker and need the "Select a date" (or siomilar) message to be displayed for the user, you can insert text in the page and place the text field on top of it. 

 

Then use a custom calulation script to change the field properties for the color; change between transparent to white based on a condition.

 

This is what I'm using :

 

if (event.value !="") {event.target.fillColor = color.white}
else event.target.fillColor = c
...

Votes

Translate

Translate
Community Expert ,
Aug 08, 2020 Aug 08, 2020

Copy link to clipboard

Copied

Not if the Format setting of the field is set to Date...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 08, 2020 Aug 08, 2020

Copy link to clipboard

Copied

LATEST

Here's one of my "Band-Aid"    Acrobat remedies.

 

If you still need to use the date picker and need the "Select a date" (or siomilar) message to be displayed for the user, you can insert text in the page and place the text field on top of it. 

 

Then use a custom calulation script to change the field properties for the color; change between transparent to white based on a condition.

 

This is what I'm using :

 

if (event.value !="") {event.target.fillColor = color.white}
else event.target.fillColor = color.transparent

 

See slides:

pickdate.png

 

 

 

 

pickdate2.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines