
On Tuesday, April 06, 2004 3:12 PM
Ronan O'Brien
How can I set a freetext value automatically based on customer information? I've modified the customer field to store a location, and would like this to be recorded as part of an article as a freetext field. Is it possible to associate them automatically.. or will it be something that has to be done manually (e.g user selects from a dropdown) ?
FreeText fields and their values can be pre-defined in Config.pm: # --------------------------------------------------- # # TicketFreeText # # (define free text options for frontend) # # --------------------------------------------------- # $Self->{"TicketFreeKey1"} = { '' => '-', 'Product' => 'Product', }; $Self->{"TicketFreeText1"} = { '' => '-', 'PC' => 'PC', 'Notebook' => 'Notebook', 'LCD' => 'LCD', 'Phone' => 'Phone', }; $Self->{"TicketFreeKey2"} = { '' => '-', 'Support' => 'Support', }; # default selections (if wanted) $Self->{"TicketFreeText1::DefaultSelection"} = 'Notebook'; hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388