Javascript to automatically update current date on form when I open it

Jan 21, 2018

Copy link to clipboard

Copied

Hello,

I already read the answer on your previous javascript answer (May 2015) unfortunately it does not work on my form.

I would like to create a java script in order to get the current date when I open the form.

My field is Date

The format is dd/mm/yyyy (21/01/2018).

Please find below the date format I have on my form :

Format of the date.PNG

Please find below the script worte :

Javascript i wrote.PNG

I use Adobe Acrobat Standard DC with Windows 10

Thank you in advance for your help.

Olivier

TOPICS
Acrobat SDK and JavaScript, Windows

Views

297

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

Javascript to automatically update current date on form when I open it

Jan 21, 2018

Copy link to clipboard

Copied

Hello,

I already read the answer on your previous javascript answer (May 2015) unfortunately it does not work on my form.

I would like to create a java script in order to get the current date when I open the form.

My field is Date

The format is dd/mm/yyyy (21/01/2018).

Please find below the date format I have on my form :

Format of the date.PNG

Please find below the script worte :

Javascript i wrote.PNG

I use Adobe Acrobat Standard DC with Windows 10

Thank you in advance for your help.

Olivier

TOPICS
Acrobat SDK and JavaScript, Windows

Views

298

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
Jan 21, 2018 0
Jan 21, 2018

Copy link to clipboard

Copied

You must use the script at document level.

Document Level Scripts With Acrobat Standard - KHKonsulting LLC

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...
Jan 21, 2018 0
Jan 22, 2018

Copy link to clipboard

Copied

when I click on it I have the script below :

how can I save it.PNG

How can I save it in order to install it ?

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...
Jan 22, 2018 0
Jan 22, 2018

Copy link to clipboard

Copied

Read the posting of Mr. Kremer.

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...
Jan 22, 2018 0
Jan 22, 2018

Copy link to clipboard

Copied

I already read it but it is not very clear. Each time I click on the link in order to download it I have no option to saive it ?

Thank your your help

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...
Jan 22, 2018 0
Jan 22, 2018

Copy link to clipboard

Copied

Don't clic on this link: right-clic and choose Save As…

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...
Jan 22, 2018 0