<input type="hidden" name="status" value="CLS">Well Arvin...
I wrote a line to read your hidden field into a new variable in the
newticket subroutine called $closer.
my $closer = $query->param('status');
Then later in the
newticket subroutine, I check to see if you have that variable and set the new ticket's status to CLS (solved).
if ($closer eq 'CLS'){
$ticket->{status} = 'CLS';
}
Then if the ticket is closed, set the solved date/time stamp...
if ($ticket->{status} eq 'CLS') {
$ticket->{updated} = time();
$ticket->{closed} = $ticket->{updated};
}
Of course since TTX always allows both operators and non-operators to submit new tickets, your reports would not pick up any of these new tickets. That's because the
Reports module only looks at tickets closed by operators.
Regardless, this whole modification
did not work at all...

Why? Because when an operator claims a ticket, the status is always set to OPN (open) in the
claim subroutine.

$t->{status} = 'OPN';
Oh well, I gave it a shot but this will never work without major code changes covering several subroutines in several modules which will undoubtedly lead to other conflicts.