The length option has been available for freetext questions for a very long time, but it actually does not do anything. There is code that tries to use them, but it looks like the intended HTML attributes are not saved to the exercise yaml file. Since the yaml file does not contain anything about the length, of course the MOOC-Grader can not render any HTML for the corresponding HTML size attribute.
The
length
option has been available forfreetext
questions for a very long time, but it actually does not do anything. There is code that tries to use them, but it looks like the intended HTML attributes are not saved to the exercise yaml file. Since the yaml file does not contain anything about the length, of course the MOOC-Grader can not render any HTML for the corresponding HTMLsize
attribute.https://github.com/apluslms/a-plus-rst-tools/blob/40c904b69e16518bf8e01cffac70877b58bbc448/directives/questionnaire.py#L619-L634 The node constructor: https://github.com/apluslms/a-plus-rst-tools/blob/40c904b69e16518bf8e01cffac70877b58bbc448/aplus_nodes.py#L26
MOOC-Grader renders questionnaires here:
The Aplus manual includes instructions for using
length
even though it does not work.