You can do this quite easily using dropdown formfields for the A/B/C/D etc and formula fields for the CORRECT/INCORRECT display. See attached.
To recreate:
• insert a dropdown formfield, give it a multi-space-character option as the default and the A, B, C, D options (less/more if you want) for the possible answers. Check the 'calculate on exit' property and note the formfield's bookmark name (eg Dropdown3).
• insert a formula field coded as:
{IF{REF Dropdown3}= " *" "" {IF{REF Dropdown3}= "C" "CORRECT" "INCORRECT"}}
where 'C' is the correct answer. Note the use of 'Dropdown3' to reference the formfield's bookmark name. Note that the field brace pairs (ie '{ }') for the above field code are created in the body of the document via Ctrl-F9 (Cmd-F9 on a Mac) - you can't simply type them or copy & paste them from this message.
• apply forms protection to the document.
Now select any answer from the dropdown. As soon as you tab out of it or select another formfield, the CORRECT/INCORRECT response will display.
You can even colour/highlight the CORRECT/INCORRECT text in the field code, if you like.
To toggle the field code display on/off for editing purposes, press Alt-F9.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|