Basically .... When I was creating my various html template forms .... I named all of my input name fields alphabetically, since TTX will arrange everything alphabetically this was the only fast ..simple... and easy solution.
Here is an example of what the form data output looks like now......
Billing Account Number: TEST
Billing Address: TEST
Billing City and Province: TEST
Billing Postal Code: TEST
Contact Name: TEST
Contact Number: TEST
Desired Due Date: TEST
End Customer First Name: TEST
End Customer Last Name: TEST
Existing or Previous Number: TEST
Service Address: TEST
Service City and Province: TEST
Special Order Comments: TEST
Type Of Order: New Install
Type Of Service: Residence Touch Tone Line
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At line 773 in TTXTicket.pm is where the form data starts to get processed
At line 804 in TTXTicket.pm is where the form data gets placed in order of $input:$val
(actual code at line 804)
$custom .= "$input: $val\n" if !$cfg->get("c$cidx.internal"); I was unable to "call" on specific input fields in line 804 ........ However .... I was able to add
~~~~~~~~~~~~~~~~Customer Information~~~~~~~~~~~~~~~
But it created a new line for each entry and this is what the output looked like....
~~~~~~~~~~~~~~~~Customer Information~~~~~~~~~~~~~~~
$input:$val
~~~~~~~~~~~~~~~~Customer Information~~~~~~~~~~~~~~~
$input:$val
~~~~~~~~~~~~~~~~Customer Information~~~~~~~~~~~~~~~
$input:$val
~~~~~~~~~~~~~~~~Customer Information~~~~~~~~~~~~~~~
$input:$val
I hope that this helps ..... if you require more information please ask ... this is something that I will be working on ...... or if you can figure it out that even better
