You are here

CheckBox Group and RadioButton

SmartBuilder v3 or v4?

The SmartBuilder version 4 Documentation and Video Tutorials can be found in the Help menu in the tool, or view the v4 Help site.

CheckBox and RadioButton Groups are almost identical.

CheckBox Groups can have 0, 1, or more selected choices.

RadioButton Groups typically have one and only one choice selected. Clicking on another choice will clear the previous choice. They can have 0 choices selected, but this is usually the initial state of a multiple choice question. They cannot have more than 1 choice selected.

To edit, add, or reorder the answers:

Select a CheckBox or RadioButton Group on the stage.

In the Properties panel, click the Edit Answers button.-or-Double click on the object.

In the Edit Answers window, you can:

Add new answers by clicking the Add button.

Delete answers by selecting the undesired answer and clicking the Delete button.

Reorder answers by selecting the desried answer and using the Move Arrows.

Edit answers by selecting the desired answer and clicking the Edit button.-or by-Double clicking on the desired answer.

Edit the answers by double clicking on what you want to change. Double click on the object to open the answers, double click on the answer to edit the text.

You can randomize answers if you want to deter learners from simply learning the positions of correct answers, rather than learning the . Randomization only occurs when previewing or viewing published content, and is only cosmetic. This means it does not effect the order of the answers when viewing them on the Authoring Stage, or in any actions.

To randomize the answers:

Select a CheckBox or RadioButton Group on the stage.

In the Properties panel, check or clear the Randomize Answers checkbox.

You can also customize the look of the CheckBox Groups or RadioButton Groups in a number of ways.

To change the layout:

Select a CheckBox or RadioButton Group on the stage.

In the Properties panel, choose Vertical or Horizontal from the Layout dropdown.

To change the label placement:

Select a CheckBox or RadioButton Group on the stage.

In the Properties panel, choose a placement from the Label Placement dropdown.

To change the distance between the label and the radio button/checkbox:

Select a CheckBox or RadioButton Group on the stage.

In the Properties panel, enter a value in the Label Spacing field.

To change the distance between one radio button/checkbox and the next:

Select a CheckBox or RadioButton Group on the stage.

In the Properties panel, enter a value in the Box Spacing field.

To change the size of the radio buttons/checkboxes:

Select a CheckBox or RadioButton Group on the stage.

In the Properties panel, select a size from the Radio Button Size drop down.

To change the style of the radio buttons/checkboxes:

Select a CheckBox or RadioButton Group on the stage.

In the Properties panel, select a style from the Style drop down.

Methods for CheckBox Group object

onHide

Trigger

Triggers when the object's visibility changes from visible to hidden.

onSelectionChange

Trigger

Triggers when an option is selected or deselected.

onShow

Trigger

Triggers when the object is initially shown, or when it’s visibility changes from hidden to visible.

getSelection

Condition

Returns a comma delimited string indicating the checked status.For example, a checkbox group with 4 boxes and boxes 2 and 4 selected would return: f,t,f,t

isOptionSelected

Condition

Checks to see if the specified value (option) is selected.

isVisible

Condition

Checks to see if object is currently visible on the stage.Returns a "True" value if the object is visible and a "False" value if it is hidden.

hide

Response

Makes the object invisible.

setSelection

Response

Changes which checkboxs are selected to the specified values.

setVisibility

Response

Sets the visibility of object based on a Boolean (True/False) value.The Boolean value can be entered as a static value, or can be pulled from another object, or variable.

show

Response

Makes the object visible.

Methods for RadioButton object

onHide

Trigger

Triggers when the object's visibility changes from visible to hidden.

onSelectionChange

Trigger

Triggers when an option is selected or deselected.

onShow

Trigger

Triggers when the object is initially shown, or when it’s visibility changes from hidden to visible.

getSelection

Condition

Returns radio button object's current selection as a number (first option selected = 1, second = 2, etc).

getOptionText

Condition

Returns the text of the specified option.Often used with getSelection.

isOptionSelected

Condition

Checks to see if specified value (option) is selected.

isVisible

Condition

Checks to see if object is currently visible on the stage.Returns a "True" value if the object is visible and a "False" value if it is hidden.

hide

Response

Makes the object invisible.

setSelection

Response

Changes which radio buttons are selected to the specified values.

setVisibility

Response

Sets the visibility of object based on a Boolean (True/False) value.The Boolean value can be entered as a static value, or can be pulled from another object, or variable.