Hi,
Basically when newTicket.html is posted it will end up on ticketPosted.html, meaning that you can include code to set your fields in this file.
<h3>%lang("lang_customer_framework_newTicket")%</h3>
Your inquiry has been registered with request ID no. %ticket.id%
%EJSCRIPT_START%
<%
Map variables = getCgiVariables();
printLine(variables.toJson());
%>
%EJSCRIPT_END%