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

Funktion für Schaltfläche

New Here ,
Aug 12, 2020 Aug 12, 2020

Copy link to clipboard

Copied

Hallo liebe Community,

 

ich habe seit dieser Woche den Acrobat DC und soll ein Formular erstellen, in dem es eine Schaltfläche geben soll, die einen händisch eingetragenen Wert zu einem Feld hinzu addiert. Jetzt bin ich noch nicht so richtig sattelfest, ich weiss wie ich Berechnungen für Felder mache, aber ich weiss nicht wie ich den Button als Auslöser dafür einsetzen kann. mein Gedanke war im Script des Buttons zu sagen "Feld1 = Feld1+Feld2" Falls das so geht, fehlt mir allerdings der richtige Syntax dafür. Ich hoffe mir kann jemand helfen.

 

MfG

Sebastian

TOPICS
Create PDFs , Edit and convert PDFs , How to

Views

978

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 12, 2020 Aug 12, 2020

You can use this:

this.getField("Feld1").value += Number(this.getField("Feld2").valueAsString);

 

Votes

Translate

Translate
Community Expert ,
Aug 12, 2020 Aug 12, 2020

Copy link to clipboard

Copied

You can use this:

this.getField("Feld1").value += Number(this.getField("Feld2").valueAsString);

 

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
New Here ,
Aug 12, 2020 Aug 12, 2020

Copy link to clipboard

Copied

LATEST

Thank you very much, that was exactly what I was looking for.

 

best regards

Sebastian

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