Hi Lars,
There is no built-in mechanism for this. If you want to edit the source code, I think if you change line 2088-2090 of webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm from
print CGI::p({class=>"gwPreview"},
CGI::a({-href=>"$jsprevlink "},
"preview problems"));
to
# print CGI::p({class=>"gwPreview"},
# CGI::a({-href=>"$jsprevlink "},
# "preview problems"));
and similarly change lines 2156-2158 from
print CGI::p( CGI::submit( -name=>"previewAnswers",
-label=>"Preview Test" ),
($can{recordAnswersNextTime} ?
to
print CGI::p( # CGI::submit( -name=>"previewAnswers",
# -label=>"Preview Test" ),
($can{recordAnswersNextTime} ?
it will avoid showing the preview button and links on the gateways.
I hope that's useful,
Gavin