--- loncom/homework/inputtags.pm 2016/05/30 02:45:32 1.343 +++ loncom/homework/inputtags.pm 2016/12/06 20:51:11 1.344 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.343 2016/05/30 02:45:32 raeburn Exp $ +# $Id: inputtags.pm,v 1.344 2016/12/06 20:51:11 damieng Exp $ # # Copyright Michigan State University Board of Trustees # @@ -460,6 +460,7 @@ sub start_textline { } my $name = 'HWVAL_'.$id; my $itemid = 'HWVAL_'.$partid.'_'.$id; + # NOTE: the input id should match the one given by defaut_homework input_id(). my $input_tag_id = $itemid.'_'.$input_id; if ($Apache::inputtags::status[-1] eq 'CANNOT_ANSWER') { $name = "none";