(Answer) (Category) LON-CAPA User Help : (Category) Authoring : (Category) Authoring Problems :
Why did I get text boxes instead of drop-down boxes in the option-response editior?
If you create an option response problem, the options that correspond to all of your foils MUST be listed as an option.

The template defaults with the options "True" and "False", but you want the options "Red", "Blue", and "Green". If you delete "True" and "False" first, you will notice that the foils have the words "True" and "False" in text boxes now. This is because the option does not exist in the main list.

To avoid this problem, add all your new options first, change the foils to what you want them to be and pick the correct option for each foil. Finally, you can delete the options you don't want, in this case "True" and "False"

When deleting an option from a multiple option response problem, in order to avoid losing the information associated with the foils associated with the option, the "correct option" entry is made a text entry box. This allows you to add a new option and change the preexisting foils to match this new option. Otherwise you would have to reenter the foils to change the option name.

All foils for an <optionresponse> question only will present the options from the list of options you defined.
The "Typed In Value" option does not allow a student to "type in" a value but for an instructor to say that the correct option for ths foil comes from a variable.
This option is most often used when coupled with a <randomlabel> problem. Or where you are randomizing the probelm text.
If you want the student to provide a typed in answer, use the String Response.

[Append to This Answer]
Previous: (Answer) Can one safely omit "<th>" tags in "<table>"s if headers are undesired?
Next: (Answer) What's a foil?
This document is: http://help.loncapa.org/cgi-bin/fom?file=73
[Search] [Appearance] [Show This Answer As Text]
This is a Faq-O-Matic 2.719.
This FAQ administered by the LON-CAPA team at MSU. Submit a help request ticket to contact us.