Probably the easiest way is to check for the existence of a submitted parameter, and then print the thank you page if it exists. If not, print your CGI form for user issue submission.
### Psuedocode, mostly
#!/usr/bin/perl -wT
use strict;
use CGI;
my $q=CGI->new();
if($q->param('submit')){
#The "submit" param would come from a default submit button
#Use some other parameter if it makes sense to you, like "problem
+description".
#Any field that's submitted by your form should work.
#Print thank you page, however you want.
} else {
#No parameter was submitted, so that must mean this
#is a new request.
#print your page for submitting the help desk request.
#and do your post-processing.
}
-Any sufficiently advanced technology is indistinguishable from doubletalk. |