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

how to make a input out put table in a filable text box?

New Here ,
Aug 19, 2016 Aug 19, 2016

Hello all. I am using adobe acrobat pro 7.0

i have a pdf of a dungeons and dragons custom character sheet, but i do not want to print it out. So i am trying to turn it into a form fillable character sheet.i have made fillabe text spots but i do not know how to make them calcualte the proper in put out put table for an ability score. the custom calculation script wants javascript i dont know javascript. i want  the table to be

Header 1
10=0
11=0
12=+1
13=+1
14=+2
15=+2
16=+3
17=+3
18=+4
19=+4
20=+5

the table would continue in that matter any one know how to do this

TOPICS
Acrobat SDK and JavaScript , Windows
415
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 ,
Aug 19, 2016 Aug 19, 2016

I don't quite follow what you're trying to calculate (it's been a long time since my DM days, I'm afraid), but here's a good tutorial on how to set up calculations in a PDF form: https://acrobatusers.com/tutorials/how-to-do-not-so-simple-form-calculations

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
New Here ,
Sep 08, 2016 Sep 08, 2016
LATEST

while that is a correct answer if i wanted to learn how to find the spot to input the math. it is not a correct answer for what i need.
i know i have to use a customized math as this is more complicated than the basic maths.

i need to put a table in and have it recognize that if i type in 1 number that it will auto calculate the modifier

for reference the players hand book 3.5 edition says

ability score=ability modifier

1=-5

2=-4

4=-3

6=-2

8=-1

10=0

12=+1

14=+2

16=+3

18=+4

20=+5

it continues like that with every even numbered ability score increasing the ability modifier by +1

what i needed to know is how to do that math in javascript

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