Problem type that allows ungraded text answers?

457 views
Skip to first unread message

Anna Callahan

unread,
Nov 8, 2017, 3:45:50 PM11/8/17
to General Open edX discussion

We need to have a problem type that allows learners to put in any text they want and won't tell them it's incorrect when they hit the submit button.  We've tried using the Peer Assessment type and then turning off the peer grading, but unfortunately the way it looks to the user is then very clunky with a bunch of text that is unnecessary/misleading.

Ideally, the problem type we are looking for has a question followed by a multi-line text box that users type into and submit with no instant grading.  What can you recommend?
Thank you,
Anna

jo...@curricu.me

unread,
Nov 8, 2017, 5:36:56 PM11/8/17
to General Open edX discussion
You can try something like the following in the advanced editor. 

<problem>
<stringresponse answer=" " type="ci regexp" show_correctness="never"> 
       <additional_answer>"a"</additional_answer> 
        <textline size="80" label="Pandemic Threat"/> 
</stringresponse> 
</problem>

Anna Callahan

unread,
Nov 8, 2017, 7:43:31 PM11/8/17
to General Open edX discussion
This is great -- thank you!

Is there a way to adjust the height of the text-box?  Where can I find the list of xml tags?

Anna Callahan

unread,
Nov 8, 2017, 7:59:45 PM11/8/17
to General Open edX discussion
I found the page in the documentation:
http://edx-open-learning-xml.readthedocs.io/en/latest/problem-xml/text_input.html#response-field-length-in-text-input-problems

And it looks like there is no way to create a multi-line text box.  Does anyone have any ideas on how to make this happen?
Thank you John for getting us most of the way there!
Anna

Colin Fredericks

unread,
Nov 9, 2017, 2:13:39 PM11/9/17
to General Open edX discussion
I made a Javascript Input Problem for this kind of thing:
and the grading code is in our custom python module:

It logs student responses to the standard edX logs. It marks things as "correct" if they have more than 10 characters typed in and just says "Thanks for your response." If you need it to be ungraded, you can always set it to 0 points.

Screen shot attached.


On Wednesday, November 8, 2017 at 3:45:50 PM UTC-5, Anna Callahan wrote:
Screen Shot 2017-11-09 at 2.12.25 PM.png

Giulio Gratta

unread,
Nov 9, 2017, 2:22:35 PM11/9/17
to General Open edX discussion

Hi Anna,

I think we at Stanford may have built exactly what you're looking for: Free Text Response xBlock!




You can see it in action at our Demo Course (though you will need to create an account as most of the xblocks aren't available in our "anonymous access" feature...)

mon...@stanford.edu

unread,
Nov 9, 2017, 2:45:24 PM11/9/17
to General Open edX discussion
Hi,

Just adding on to Giulio's comment with a link to our demo course, so if you want to sign up and check out the free text response xblock in action there, you can.
https://lagunita.stanford.edu/courses/StanfordOnline/OpenEdX/Demo/courseware/Graded_free_text_based_response/19a38f75063240b1b076005f44fe7183/

Thanks!
Monica


On Wednesday, November 8, 2017 at 12:45:50 PM UTC-8, Anna Callahan wrote:

Anna Callahan

unread,
Nov 11, 2017, 9:06:18 AM11/11/17
to edx-...@googlegroups.com
Thank you Colin! This looks great!

--
You received this message because you are subscribed to a topic in the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/2cc7cef7-a9e9-4101-b38b-d869763b2bf0%40googlegroups.com.

Anna Callahan

unread,
Nov 11, 2017, 9:10:01 AM11/11/17
to edx-...@googlegroups.com
Giulio and Monica, thanks so much!  

We're using Appsembler's amazing one-click Open edX hosting, so I'll ask them which of these solutions will work best.

Thank you all!
Anna
Reply all
Reply to author
Forward
0 new messages