[rt-users] Populate Custom Field with autocomplete
mattias.eriksson+nabble at effektgruppen.se
Thu Nov 5 01:10:24 EST 2015
I have set up small incident tracking system with RT 4.2.
Custom fields with autocomplete is used to document at what site the
incident occurred and when resolved what pice of hardware was the cause.
Setting up the fields only lets me add possible sites and units in a static
list, in my view this should be a dynamic list based on the values earlyer
used for this field.
Shouldn't this be a simple choise in the setup?
Do you have to write your own module just for this?
I have started the modules, but my perl skills and google fail to deliver a
concrete answer, so I turn to you :)
Based on the example with the Groups.pm file I get it to use the group list
as suggestions, but changing that code to get values from the fields beats
Hacking away guided by google has brougth me to changing:
my $groups = RT::Groups->new( $self->CurrentUser );
my $groups = RT::CustomFieldValues->new( $self->CurrentUser );
But I get no elemets back from this.
So, how far off am I?
View this message in context: http://requesttracker.8502.n7.nabble.com/Populate-Custom-Field-with-autocomplete-tp60871.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
More information about the rt-users