Skip to main content
Participating Frequently
March 20, 2020
Question

Need your support on auto filling form from custom properties

  • March 20, 2020
  • 2 replies
  • 3269 views

Hi All,

I am new to the environment, My requirement We created some custom fields for pdf document and we created a pdf form as well. Now our requirement is what data is available in Custom Properties it has to auto fill in the pdf form. I heard we can achive using javascript. Could someone please help me on this.

This topic has been closed for replies.

2 replies

Inspiring
March 20, 2020
Participating Frequently
March 20, 2020

Hi johnson,

Thank you so much, is it same for Custom Properties as well or anything else we need to follow

regards

Naveen

Inspiring
March 20, 2020

It should work. Here's a code sample the gets the value from a custom info field and populates a text field:

 

getField("Text1").value = info["My Custom Info Field"];

 

where "My Custom Info Field" is the name of the info field you want to use.

BarlaeDC
Community Expert
Community Expert
March 20, 2020

HI,

 

Are you wanting to copy some of the data from the document information to some fields on the document?

 

Regards

Malcolm

Participating Frequently
March 20, 2020

Thank you So much for your response. Yes you are I want to copy from custom Properties to the form fields inside the document. 

Kindly help me as it is urgent for my use case. let me know if you need any additional information.

 

Thanks,

Naveen.