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

dynamischer Stempel mit Zeilenumbruch bei der Texteingabe

Community Beginner ,
Apr 09, 2021 Apr 09, 2021

Copy link to clipboard

Copied

Liebe Community,

mit eurer Hilfe habe ich erfolgreich einen dynamischen Stempel mit mehreren Textzellen in einem Pop-up-Fenster auf der Basis app.execDialog erstellt. Was ich noch brauche ist, dass in einigen Zellen der Text mit Zeilenumbruch eingegeben werden kann. Weiß jemand, wie dabei der JavaScript wäre?

Und noch eine Frage: gibt es eine Möglichkeit den dynamischen Stempel von verschiedenen Benutzern ergänzbar zu machen, eher dieser von der letzten Instanz in unserem Unternehmen als vollständig freigegeben wird?

Viele Grüße

Johann

TOPICS
Create PDFs , JavaScript , PDF forms

Views

968

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 , Apr 09, 2021 Apr 09, 2021

- No, not replace it. Add to it. Next to the item_id property, for example. Like this:

 

type: "edit_text",

item_id: "txt1",

multiline: true

 

- That's not possible. The fields in the stamp can only be filled in once, at the moment it is applied.

You can have the other users re-apply the same stamp at the same position and enter new values into it, but then you have to make the fields (and stamp itself) transparent, so it doesn't overwrite the older values already entered into it.

Votes

Translate

Translate
Community Expert ,
Apr 09, 2021 Apr 09, 2021

Copy link to clipboard

Copied

- In your dialog, set the multiline property of your edit_text field as true.

- Not sure I followed the second question entirely, but if you're asking whether it's possible to share the stamp with others, the answer is yes. You just need to locate the Stamps folder on your machine, then copy the stamp file from it and place it in the same location on the other computer. The exact location of that folder depends on your version of Acrobat and on your OS.

You can find it out by running this code from the JS Console:

app.getPath("user", "stamps");

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 Beginner ,
Apr 09, 2021 Apr 09, 2021

Copy link to clipboard

Copied

- wenn ich "edit_text" mit "true" ersetze funktioniert mein stempel nicht mehr.

- Sie haben mich falsch verstanden. Der Stempel muss durch mehre Personen ausgefüllt werden, nachdem die erste Person den Stempel gesetzt hat. Zum Beispiel trägt die erste Person die Rechnungsnummer ein und den Rechnungsbetrag, die zweite Person öffnet das Dokument mit diesem Stempel und schreibt in den Stempel, dass die Rechnung geprüft wurde und setzt das Datum mit Unterschrift ein. Die Dritte Person öffnet das Dokument und schreibt das Datum der Überweisung und schließst den Stempel, damit es nicht mehr verändert werden kann.

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 ,
Apr 09, 2021 Apr 09, 2021

Copy link to clipboard

Copied

- No, not replace it. Add to it. Next to the item_id property, for example. Like this:

 

type: "edit_text",

item_id: "txt1",

multiline: true

 

- That's not possible. The fields in the stamp can only be filled in once, at the moment it is applied.

You can have the other users re-apply the same stamp at the same position and enter new values into it, but then you have to make the fields (and stamp itself) transparent, so it doesn't overwrite the older values already entered into it.

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 Beginner ,
Apr 09, 2021 Apr 09, 2021

Copy link to clipboard

Copied

Yes! Now it works as wished!

Thanks a lot!

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 ,
Jun 26, 2023 Jun 26, 2023

Copy link to clipboard

Copied

LATEST

Thank you for this post. 

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