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

C'è un modo per inserire in un campo modulo ogni lunedi la data

Explorer ,
May 14, 2024 May 14, 2024

Copy link to clipboard

Copied

Buongiorno, chi mi aiuta ad inserire in un campo modulo "data" con aggiornamento della data in automatico ogni lunedì.

grazie

TOPICS
Modern Acrobat , PDF , PDF forms

Views

52

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 ,
May 14, 2024 May 14, 2024

Copy link to clipboard

Copied

What do you mean? Do you want the field to show the latest Monday whenever the file is opened?

 

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
Explorer ,
May 14, 2024 May 14, 2024

Copy link to clipboard

Copied

NO! Es: se oggi 13/05/24 ed è lunedì, voglio che il campo "data" si aggiorni in automatico al prox lunedi 20/05/24 e così via..

grazie

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 ,
May 14, 2024 May 14, 2024

Copy link to clipboard

Copied

OK! ... You can do it by placing this code as a doc-level script in your file:

 

var d = new Date();
while (d.getDay()!=1) d.setDate(d.getDate()+1);
this.getField("date").value = util.printd("dd/mm/yyyy", d);

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
Explorer ,
May 14, 2024 May 14, 2024

Copy link to clipboard

Copied

LATEST

fantastico!

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