--- loncom/homework/radiobuttonresponse.pm 2001/01/12 21:58:33 1.7 +++ loncom/homework/radiobuttonresponse.pm 2001/01/15 21:44:21 1.8 @@ -56,7 +56,7 @@ sub end_foilgroup { if ($target eq 'web') { $result=&displayfoils($max,$answer); } elsif ( $target eq 'grade') { - if ( defined $ENV{'form.submit'}) { + if ( defined $ENV{'form.submitted'}) { my $response = $ENV{'form.HWVAL'.$Apache::inputtags::response['-1']}; if ( $response =~ /[^\s]/) { my $id = $Apache::inputtags::response['-1'];