Talk:OnCreateCheckCF/@comment-65.183.159.254-20120816191545
Jump to navigation
Jump to search
if ($val ne ) { return 0;
That only makes sure the first Mandatory field is filled in. Subsequent fields are ignored.
if ($vad == '(?#Mandatory)') { my $val = $ticket->FirstCustomFieldValue($nam); unless ($val) { $ticket->SetStatus("rejected"); last; # Don't need to keep looking, we found a bad one } } } return 1;