WeBWorK Problems

Disabling red/green indicator bars

Re: Disabling red/green indicator bars

by Davide Cervone -
Number of replies: 0

You may want to reconsider removing the lines entirely. That table can give important information to the student, like pointing out syntax errors or messages about using the wrong type of answer (a formula instead of a number), and other such details. If you remove the table like you have, that information will not be available to the student.

If you are trying to reduce the number of lines, you could consider using a MultiAnswer object to handle the table (or one per line of the table) with singleResult => 1. You could still organize the student and correct answers as an array in the results table, if you like, but there would only be one row in the table. But removing the table entirely is probably not a good idea.

Also, if you use a modified version of scaffold.pl, that will be used for ALL scaffold problems that you assign, so you might want to rename the macro file and load it by the modified name, so your changes don't interfere with other scaffold problems (and if you contribute your problems to the public library, along with your modified scaffold code, it can be used by others with the output you intend).