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

Way to auto-name a form file based on the input/value of Form Fields?

Community Beginner ,
Mar 01, 2018 Mar 01, 2018

Copy link to clipboard

Copied

Hello,

Is there a way to Auto-Name a Form?

I have a few form fields that could be used to create the name:

For Example fields below:

Type of Form: "Field Report" - I could make this a static answer - requiring no input from user.

Form Field 1: "Date"

Form Field 2: "Job #"

Form Field 3: "Employee Initials"

I would like the form to be named: Report-Date-Job #-Employee Initials" -- where the inputs for the form fields, becomes the file name.

Note: My main reason for doing this is so that forms are appropriately named from the start. This also prevents the user from having to manually type these characters in and manually renaming the form.

Thank you all in advance!

Steven

TOPICS
Acrobat SDK and JavaScript

Views

1.1K

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 , Mar 02, 2018 Mar 02, 2018

No, this is not possible on an iPad.

Votes

Translate

Translate
Community Expert ,
Mar 01, 2018 Mar 01, 2018

Copy link to clipboard

Copied

Yes, but it requires installing a script on the local machine. See: https://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

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 ,
Mar 02, 2018 Mar 02, 2018

Copy link to clipboard

Copied

So I assume that this script will not work on an iPad running iOS?

Is there anything native within the form itself that can be used to accomplish this?

I cant even get the "Save" action function to work on an iPad.

Thank you,

Steven

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 ,
Mar 02, 2018 Mar 02, 2018

Copy link to clipboard

Copied

No, this is not possible on an iPad.

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 ,
Mar 02, 2018 Mar 02, 2018

Copy link to clipboard

Copied

Actually, PDF Expert from Readdle provides a partial solution for this. You can specify field names to be used in creating the submit name for a file. This is the name of the PDF that is transmitted on a form submit.

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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 ,
Apr 13, 2022 Apr 13, 2022

Copy link to clipboard

Copied

Any chance this answer has changed in the recent years?

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 13, 2022 Apr 13, 2022

Copy link to clipboard

Copied

LATEST

No

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