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

Module with Multiple "Radio Buttons" Only Allows One Selection at a Time

New Here ,
Aug 01, 2024 Aug 01, 2024

Good morning, I've created a multiple-choice form with several fields that, once selected, record the user's choices in a table at the top of the document, summarizing the selections made and forming a code. Unfortunately, each choice excludes the previous one, and I can't get all the selected choices to display simultaneously. Can you help me? How can I achieve this? Thank you!

TOPICS
PDF forms
157
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 01, 2024 Aug 01, 2024
LATEST

Your mouse up action is showing the field on focus and hiding the field on blur.  It is reacting exactly as it should with this method.  There are better ways to do this:

1)  Use a custom calculation script in the text fields to show when the radio button export value matches and hide the rest. OR

2)  A mouse up action script in each radio button that hides all the fields except the one related to the radio button that is "on".

Better yet, why not have one text field that is always visible but the value changes depending on which radio button is selected?  Here's how to accomplish that:

1)  Remove all the mouse up actions you currently have.

2) Change the export values (choices) of the radio buttons to match the points score.  For Finitura it would be 00, 01, 02, and 07.

3)  Enter the following calculation script in the text field:

var rslt=this.getField("finitura profilo(1).p1").valueAsString;
if(rslt=="Off")
{event.value=""}
else
{event.value=rslt}
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