Beta 6 - Freetext Required Validation?

My Freetext "requirements" are not being enforced in Beta 6 (though I'm fairly certain they were a few weeks ago). Given the following Sysconfig (abbreviated from ZZZAuto.pm), I would expect 1 and 2 to be required for any new phone ticket, but this is not the case. $Self->{'Ticket::Frontend::AgentTicketPhone'}->{'TicketFreeText'} = { '1' => '2', '2' => '2', '3' => '1', '4' => '1', }; $Self->{'Ticket::Frontend::AgentTicketCompose'}->{'TicketFreeText'} = { '1' => '2', '2' => '2', '3' => '1', '4' => '1', }; Has anyone else seen this? Is there another option I should be setting? Hugh

This was a configuration error on my part. After looking at the validation
code I realized that it depends on having a the item in the list use a text
value of '-', not blank.
Somehow mine had become blank (missing dash).
$Self->{'TicketFreeText1'} = {
'' => '-',
'O1' => 'Option One',
'O2' => 'Option Two',
}
Hugh
On Fri, Oct 29, 2010 at 12:19 PM, Hugh Kelley
My Freetext "requirements" are not being enforced in Beta 6 (though I'm fairly certain they were a few weeks ago).
Given the following Sysconfig (abbreviated from ZZZAuto.pm), I would expect 1 and 2 to be required for any new phone ticket, but this is not the case.
$Self->{'Ticket::Frontend::AgentTicketPhone'}->{'TicketFreeText'} = { '1' => '2', '2' => '2', '3' => '1', '4' => '1', };
$Self->{'Ticket::Frontend::AgentTicketCompose'}->{'TicketFreeText'} = { '1' => '2', '2' => '2', '3' => '1', '4' => '1', };
Has anyone else seen this? Is there another option I should be setting?
Hugh
participants (1)
-
Hugh Kelley