Skip to main content
Participant
November 8, 2017
Question

I am trying to do an if then statement on PDF form

  • November 8, 2017
  • 2 replies
  • 1255 views

I am trying to do an if then statement on a PDF form.

I have the following formulas in excel and would like help implementing them in PDF.

here are the name of the fields on my PDF form.

This topic has been closed for replies.

2 replies

Inspiring
November 9, 2017

Calculations and other actions within Acrobat forms use JavaScript. The column and row cell reference make no sense, we need to know which fields they refer to.

How to do (not so simple) form calculations by Thom Prker

Thom Parker
Community Expert
Community Expert
November 9, 2017

All doable in a PDF form. Calculations in a PDF are performed with JavaScript. So you'll need to learn some JavaScript.

Here is a link to an article that will get you started with calculations in Acrobat/PDF

https://acrobatusers.com/tutorials/how-to-do-not-so-simple-form-calculations

And here is an article on writing "if" statements

https://acrobatusers.com/tutorials/conditional-execution

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