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

javascript for radio button selection with calculation

New Here ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

Im having trouble with the script for assigning a value to a radio button that is a "other choice".

I have three radio buttons:

rb1 will have a value of 1;

rb2 will have a value of 1;

rb3 is a "other choice" with a fill in the blank.

Is there a way that I can use what the user inputs into the blank and have that value used in a calculation that determines the value of the rb3?

ex.

If the user inputs .2 into the blank, the .2 would be fed into the equation (1-(.8 *.2)), so rb3 has a value of .84

I am using XI Pro

Views

214

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
no replies

Have something to add?

Join the conversation