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

Selecting previous dropdown items when using inverse export values

Community Beginner ,
Nov 13, 2023 Nov 13, 2023

Hello community!

 

I am having a bit of trouble with a form I have created. There are many dropdowns that allow the user to select a value 1, 2, 3, 4, or 5. Once the user makes a selection the value is added to a total or score that is used for other things. The problem I am having is that there are four or five of these dropdowns that need to have their scores "inverted", that is to say that 1 = 5, 2 =2, 3 = 3(nothing needed there) 4 = 2 and finally 5 = 1. Generically i went into the dropdown options of these select few fields and set the values with their related scores. The math works correctly however, here is an example of my problem: If i make the field selection "5" and then try to click back to "1" it will not allow me. If i select "4" and try to select "2" it will not allow me, I have to click one of the options that is not the inverse. I am guessing it does not let me select "1" after selecting "5" because the value of 5 is already 1? If this is the case will i need to write a script to hnadle this logic? Thanks a ton in advance for your time!!

TOPICS
How to , JavaScript , PDF forms
634
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
1 ACCEPTED SOLUTION
Community Expert ,
Nov 13, 2023 Nov 13, 2023

That's an interesting one... Try applying the export values as 1.0, 2.0, etc.

Perhaps that will stop Acrobat from seeing them as identical to the display values, and prevent this issue from happening. Otherwise, a script will have to be used, yes.

View solution in original post

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 13, 2023 Nov 13, 2023

That's an interesting one... Try applying the export values as 1.0, 2.0, etc.

Perhaps that will stop Acrobat from seeing them as identical to the display values, and prevent this issue from happening. Otherwise, a script will have to be used, yes.

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 Beginner ,
Nov 13, 2023 Nov 13, 2023
LATEST

This did in fact work. Thanks for the idea!!

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