DMDX Help.


Correct Feedback Keyword

<CorrectFeedback text>
<cfb
text>

    FC switch alternative to specify the "Correct" feedback message. text can be undelimited in which case you cannot use RTF text formatting or can it be delimited in quotes, "text", in which case you can use RTF text formatting.  As of version 6.1.6.4 of DMDX when using quoted RTF the text cannot contain the -D or -L switches (use <FeedbackDuration> and <FeedbackLine> instead) however, unlike undelimited text and any text used prior to 6.1.6.4, you can now use hyphens.

    By default the subject RT is appended to this message, to turn it off you will need to use
<NoFeedbackTime>.

    If you wish to change the formatting of the RT as well make sure the RTF formatting does not end with the quotes, for example to have completely green correct feedback use the following (note that the last quote is green):

<cfb "Correct">


    Note that as of version 6.4.0.0 of DMDX you can use Unicode characters (without formatting) without needing to enclose them in double quotes when the Unicode path is on.

    Note that if you have turned on <RTFColorOverride> or have used <WritingColor> or <DefaultWritingColor> setting the color of the feedback will have no effect so if you're using them and you want to specify the color of the feedback you'll have to make sure that the last frame of your RT gathering items sets the default writing color to whatever the feedback should be displayed in and all different types of feedback will be displayed in that color.  If that doesn't float your boat and you want to have different colored feedback and you have to use <wc> or <dwc> then you'll have to code up some custom feedback akin to the audio feedback example in the branching help.  Classic case of can't have your cake and eat it too...

    And don't try and embed a macro in a feedback specification as macros aren't expanded when feedback is used and they will remain unexpanded and if you're using Unicode an embedded macro will blow the Unicode byte order up and DMDX will spew mojibake in the feedback. Use of a macro in the definition is fine, embedding one is not.



DMDX Index.