10.40. Single Select and Numerical Input Problem#
Note
EdX does not support this problem type.
You can create a problem that combines a single select and numerical input problems. Students not only select a response from options that you provide, but also provide more specific information, if necessary.
![Image of a single select and numerical input problem](../_images/MultipleChoice_NumericalInput.png)
Note
Currently, students can only enter numerals in the text field. Students cannot enter words or mathematical expressions, which might be confusing to students who are accustomed to other edX numerical input fields.
You can make a calculator available to your learners on every unit page. For more information, see Calculator Tool.
10.40.1. Create a Single Select and Numerical Input Problem#
To create a single select and numerical input problem, follow these steps.
In the unit where you want to create the problem, click Problem under Add New Component.
Clicke ** Advanced problem types**. Then click Blank Advanced Problem.
In the component editor, paste the code from below.
Replace the example problem and response options with your own text.
Click Save.
10.40.2. Single Select and Numerical Input Problem Code#
<problem>
The numerical value of pi, rounded to two decimal places, is 3.24.
<choicetextresponse>
<radiotextgroup>
<choice correct="false">True.</choice>
<choice correct="true">False. The correct value is <numtolerance_input answer="3.14"/>.</choice>
</radiotextgroup>
</choicetextresponse>
</problem>