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

Javascript code not working

New Here ,
Aug 14, 2020 Aug 14, 2020

Copy link to clipboard

Copied

Hello, I have made a PDF filable form with drop-down boxes for a football manager game.

I needed 4 export values so that when someone selected a player the corresponding Code, Rating, Fitness and Morale boxes filled with the players stats.

I could only make it work with 1 export value so I created a long number with all the info in it and used it as the export value, then I used sums to extract the seperate variable back out again into the corresponding boxes.

I hope that makes sense I have attached the file as well.

I have made it work but 2 of the boxes don't work despite it being copied and pasted, also randomly sometimes it does not work and the sums don't work out correctly, could somebody possibly take a look and tell me what is wrong?

Any help would be appreciated, Thank you

TOPICS
PDF forms

Views

395

Translate

Translate

Report

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

correct answers 1 Correct answer

Enthusiast , Aug 14, 2020 Aug 14, 2020

try change field calculation order. 

Izrezak.PNG

Votes

Translate

Translate
Enthusiast ,
Aug 14, 2020 Aug 14, 2020

Copy link to clipboard

Copied

try change field calculation order. 

Izrezak.PNG

Votes

Translate

Translate

Report

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 ,
Aug 14, 2020 Aug 14, 2020

Copy link to clipboard

Copied

Thank you, I will try this.

Votes

Translate

Translate

Report

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 ,
Aug 14, 2020 Aug 14, 2020

Copy link to clipboard

Copied

LATEST

This worked, thank you very much!

Votes

Translate

Translate

Report

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