How to create a Multiple Choice question where the choices contain more than one line of text?
There are a couple of ways to create a Multiple Choice question where the choices contain more than one line of text. Each way has its own pros and cons. It's up to you to decide which way best meets your needs.
The majority of the Multiple Choice question objects in the catalog are made up of buttons. The question's choices are assigned by setting the caption of the buttons. However, the captions don't wrap in Native ToolBook (see Figure 1).
The good news is that the captions do automatically wrap in DHTML if needed (see Figure 2) without you having to tell it to wrap. However you must ensure the height of the button object is sized so that it is tall enough to accommodate multiple lines of wrapped text.
Figure 1: In Native
Figure 2: In DHTML
Use the "Multiple Choice Fields" question object from the catalog (see Figure 3)
Figure 3: Multiple Choice Fields
Use a combination of a standard button style Multiple Choice question object and regular text fields.
As seen in Figure 4, there is a Multiple Choice question object on the left and there are text fields on the right. The caption of each button has been replaced with a single space.
Note: If you delete the entire default caption without leaving a space, you will see word "<empty> " next to the button in DHTML, so leaving a space for the caption is important to remember to do.
Figure 4: Multiple Choice question and text fields
KEYWORDS: wordwrap multiline 20455 P719
Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor