Highlighted

Default text for date time field

Community Beginner ,
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?

Adobe Community Professional
Correct answer by ls_rbls | Adobe Community Professional

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

TOPICS
PDF forms

Views

44

Likes

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

Default text for date time field

Community Beginner ,
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?

Adobe Community Professional
Correct answer by ls_rbls | Adobe Community Professional

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

TOPICS
PDF forms

Views

45

Likes

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
Aug 07, 2020 0
Most Valuable Participant ,
Aug 08, 2020

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Aug 08, 2020 0
Adobe Community Professional ,
Aug 08, 2020

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Aug 08, 2020 0