Skip to main content
S Lyne - LSM
Participant
August 14, 2020
Answered

Javascript code not working

  • August 14, 2020
  • 1 reply
  • 747 views

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

This topic has been closed for replies.
Correct answer Asim123

try change field calculation order. 

1 reply

Asim123Correct answer
Inspiring
August 14, 2020

try change field calculation order. 

S Lyne - LSM
Participant
August 14, 2020

Thank you, I will try this.