
Martin Edenhofer wrote:
Hi,
otrsdev12 wrote:
I am afraid I do not know what "names rules" means. I tried as you suggested and uncommented the lines
<tr> <td>$Data{"TicketFreeKeyField1"}:</td> <td>$Data{"TicketFreeTextField1"}</td> </tr>
in CustomerMessageNew.dtl. I now get _two_ input boxes. I simply want a single box that the user can type in their inventory number and have that number put in the ticket with key "InventoryNumber" and value whatever they typed. Is this possible? I can find no example anywhere demonstrating this. (Since this is a question with the beta version of OTRS I thought that it would be inappropriate to post on the otrs group.)
Try:
[Kernel/Config.pm] $Self->{"TicketFreeKey1"} = { 'InventoryNumber' => 'InventoryNumber', }; [...]
.-)
A. Lewenberg
Martin Edenhofer _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
That put me much closer, thanks. Now, if I type in "InventoryNumber" in the first box, and the actual inventory number in the second box (say, "H347JY"), the ticket is correctly popluated ("freekey1" set to "InventoryNumber" and "freetext1" set to "H347JY"). But how can I get the first box to not be a box but instead be just the text "InventoryNumber" so that the customer does not have to know to type in "InventoryNumber"?