Open edX® Tutorial: How to add a text input question.
In our previous tutorial about How to Add Course Sections and Subsections you added your first Section and Subsection to your course. With those in place, you can start adding content Units under the Subsections and then add your real course content into those Units in the form of components. Units can have one more multimedia components such as text, images, PDFs, videos, tests and more. In this tutorial you will learn how to add your first Unit into the course then add a text input component inside that Unit.
Note: If you already know how to add Units into your course, you can go directly to Step 3 below.
Step 1: Navigate to the course Outline from inside Studio.
In order to access the course Outline page, you first need to sign into Studio. From the Studio Home where all your courses are listed, click the course name of the course you want to enter. In the below image the course name is indicated as “Demonstration Course”, just click that to go inside the course to the course Outline.
Image: A screenshot of the Open edX Studio Home page.
When you click the course name, you will immediately be taken to the course Outline, as shown in the below image.
Image: A screenshot of the course Outline in Studio with the Section and Subsection you added in our previous tutorial How to Add Course Sections and Subsections.
Step 2: From the course Outline, click the + New Unit button
When you click the blue + New Unit button the system will automatically generate a new Unit for you. Go ahead and click it and the Unit will open up in a new page making it easier for you to develop that Unit.
Image: A screenshot of the new Unit created by the system.
Step 3: From the new Unit, click the green Problem button to see a list of problem types.
When you click the green Problem button you will see a list of all the available problem types. This includes Text Input. Check out the below image showing all the common options.
Image: A screenshot of the available common problem types with the Text Input highlighted.
Step 4: Click the Text Input option.
When you click the Text Input option the system will generate a template for you as shown in the below image.
Image: A screenshot of the Text Input template.
Step 5: Click Edit to edit the template.
Once you have the template generated, you need to edit it. You will see some instructions inside the template to guide you.
Image: Screenshot of a text input template in Edit mode.
Step 6: Edit the template to be your own.
It’s easy to edit the template. All you have to know is the following:
– Add the question text between the double chevrons: >> add-your-question-text-here <<
– Optionally, add a question hint between the two vertical bars: || add-your-text-here ||
– Correct answers must have an equals sign in front of it. Acceptable alternative/variations of the answer must be written as follows: or=
Image: Screenshot of a text input template after being edited.
Step 7: Click Save.
When you are done editing the template, click Save to finalise it.
Image: Screenshot of a text input template after being edited and saved.
Note: At any time you can click the Edit button again to make changes.