Ask Your Question

Revision history [back]

retrieving the value from a multi radio button option group

LO Version: 4.4.3.2 on OSX 10.10.3

I need to be able to retrieve the value from a radio button option group which is on a BASE form with a macro.

I have my option group setup like this

Name: Contents

Option1: Title

Option2: Title, Version & Date

Option3: Details

I've set this up with the Group Box Wizard: so that the form navigator

knows this as "Group Box 1" and has all three buttons with the name "RadioGroup1"

and option1 has a reference value (on) of 1 and off of Zero

and option2 has a reference value (on) of 2 and off of Zero

and option3 has a reference value (on) of 3 and off of Zero

The option group looks like this:

Option Group

[I know that "Group Box 1" is a form control and I can dump the properties]

So how do I retrieve the particular reference value (which is NOT assigned to a data field) with a macro once the user has chosen and clicked on the radio button.

FYI: I have three of these radio option button groups on the form and plan to retrieve all three values once the user has clicked on a "confirm selection" button. This is the form which I plan to use:

image description

retrieving the value from a multi radio button option group

LO Version: 4.4.3.2 on OSX 10.10.3

I need to be able to retrieve the value from a radio button option group which is on a BASE form with a macro.

I have my option group setup like this

Name: Contents

Option1: Title

Option2: Title, Version & Date

Option3: Details

I've set this up with the Group Box Wizard: so that the form navigator

knows this as "Group Box 1" and has all three buttons with the name "RadioGroup1"

and option1 has a reference value (on) of 1 and off of Zero

and option2 has a reference value (on) of 2 and off of Zero

and option3 has a reference value (on) of 3 and off of Zero

The option group looks like this:

Option Group

[I know that "Group Box 1" is a form control and I can dump the properties]

So how do I retrieve the particular reference value (which is NOT assigned to a data field) with a macro once the user has chosen and clicked on the radio button.

FYI: I have three of these radio option button groups on the form and plan to retrieve all three values once the user has clicked on a "confirm selection" button. This is the form which I plan to use:

image description