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

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

New Here ,
Nov 08, 2017 Nov 08, 2017

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.

TOPICS
Acrobat SDK and JavaScript , Windows
1.2K
Translate
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 ,
Nov 09, 2017 Nov 09, 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 PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
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
LEGEND ,
Nov 09, 2017 Nov 09, 2017
LATEST

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

Translate
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