Not tested, but very close. Should work with 3.8.9 and may be a few versions older.
file: local/html/Callbacks/MandatoryFields/Ticket/Update.html/BeforeUpdate content: <%ARGS> $TicketObj $ARGSRef => {} $skip_update => undef $results => [] </%ARGS> <%INIT> my $value = $ARGSRef->{'UpdateTimeWorked'}; return if defined $value && length $value; $$skip_update = 1; push @$results, loc("You have to define time worked"); </%INIT> On Tue, Mar 15, 2011 at 3:46 PM, Pena, Christian <christian.p...@corp.earthlink.com> wrote: > This is something that has probably been asked on the lists many time so > bear with me. > > > > I want to make the “Worked” field mandatory on every ticket update. I read > references on the need to do Call Backs but not sure what Syntax to use to > achieve this. Can anyone point me in the right direction? > > > > Thanks! > > > > Christian Pena > Network Engineer Supervisor > EarthLink Business > > E: christian.p...@corp.earthlink.com > O: 786-363-0460 | F: 786-363-0206 > STS Telecom is now EarthLink Business > > -- Best regards, Ruslan.