Autogenerate Issue number on original document and staying the same once emailed

New Here ,
Jul 19, 2022 Jul 19, 2022

Copy link to clipboard

Copied

I am having an issue where I need an autogenerated number though once I send it via email, its the next number in the sequence when the recipient opens the .pdf. For example I create the document and it shows as 1 though when the recipient opens the .pdf it now shows as 2. How can I resolve this issue?

The current java I have in the document is currently the following below:
var num = this.getField("Issue No."); num.value = Number(num.value)+1; num.defaultValue = num.value

I have provided the .pdf below. Please let me know if I can provide additional information to assist with my problem.

TOPICS
Create PDFs , Edit and convert PDFs , General troubleshooting , JavaScript , PDF forms

Views

32

Likes

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
no replies

Have something to add?

Join the conversation