auto_right

From WeBWorK_wiki
Jump to navigation Jump to search

auto_right

Description

This answer checker marks any answer correct. It is useful when you want to leave multiple answer blanks, only some of which will be used. If you turn off showing partial correct answers and partial credit, the effect is not visible to the students. The comment in the second case is what will be displayed as the correct answer. This helps avoid confusion.

Syntax

auto_right($msg)
auto_right()

Params

$msg: Message string

Action

This answer checker marks any answer correct.

Returns

Message string