<feedback>
<feedback>
is an Evaluation
component that renders a boxed section of content that can be triggered by predefined user interactions.
Attributes and Properties
Attribute | Type | Values |
---|---|---|
condition = "…" | "true" "false" | |
updateWith = "…" |
Property | Type |
---|---|
$f.disabled | boolean |
$f.fixed | boolean |
$f.fixLocation | boolean |
$f.hidden | boolean |
Example: <feedback>
for any arbitrary incorrect answer
The condition
for triggering the <feedback>
consists of a boolean
that has two parts. The first part references the creditAchieved
property of the
named <answer>
, and the second checks to see whether the user has yet submitted a response.
No feedback is provided if the user answers the question correctly.
Example: <feedback>
based on <choice>
selected
The <feedback>
provided to the user is tied to the <choice>
selected within an <answer>
.
Example: Feedback defined directly in choices
Feedback is defined within each <choice>
with the feedbackText
attribute.
Below the <answer>
block, the feedback text is rendered to the viewer with the reference
$ans.feedbacks
.
Example: <feedback>
tied to an <award>
Individualized feedback is provided to specific responses by referencing named awards in the condition
.
Atttibute Example: condition
The condition
attribute specifies the boolean condition necessary for rendering the <feedback>
.
Attribute Example: updateWith
When the updateWith
attribute is specified, the condition for the <feedback>
is re-checked after
the specified action. An <answer>
action is completed when the user clicks the Check Work button.
The action for a <mathInput>
is completed when the input box is no longer activated (i.e. the user
navigates outside the box).