Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
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}