Jump to content

generate PDF Title from textfield


Fadmir

Recommended Posts

Hello everyone,

this is my very first post in this forum!

Description of the problem:

I want to set the input from a textfield as the documents new filename after pressing a button which is programmed as following:

var berichtsname = this.getField("Berichts Nr").valueAsString;
app.browseForDoc({
bSave: true,
cFilenameInit: berichtsname + ".pdf"
});

The problem is that the user can't select a file type in the drop-down menu (it's just empty).

To make this clear:

I want the title of the open pdf-file to be changed to the input of the textfield "Berichts Nr".

This is important because I want to automatically send the file with the new name via email, which works just fine.

Thank you for your help

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.