Skip to main content
Participating Frequently
January 21, 2016
Question

edit pdf

  • January 21, 2016
  • 1 reply
  • 1024 views

hello , I would like to change the prices of this pdf and multiply by two, I would not do it individually , what can I do ?

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
January 21, 2016

Are these prices located in form fields, or are they static content on the page? If the latter there's no simple way of doing it.

You'll need to either manually edit each price using the Edit Text & Images tool, or create a custom-made script to identify them and overlay a field with the new price on top of them.

This kind of editing should really not be done in the PDF format. You need to go back to the original file used to create the PDF, edit it, and then generate a new PDF.

Participating Frequently
January 21, 2016

unfortunately I don't have the original file. these prices are located in form fields.

Can i create a custom-made script to identify them and overlay a field with the new price on top of them?

thanks

try67
Community Expert
Community Expert
January 21, 2016

If they are form fields then it's quite easy to change, actually.

Here's an example of a script to change the value of a single field:

this.getField("Price1").value = Number(this.getField("Price1").value)*2;