[Rt-devel] Get the selected value of a CustomField with a Script

Emmanuel Lacour elacour at easter-eggs.com
Tue Sep 7 12:17:22 EDT 2010


On Tue, Sep 07, 2010 at 05:51:51PM +0200, Marco.deSousa at billag.com wrote:
>    Hello,
> 
>    I have a ticket with some Custom Fields.
> 
>    I wrote a scrip and i need to read the Custom Fields values,
>    but i don't find the command.
> 
>    For example, if i have a CF myCF(combobox) with values ( red, orange,
>    green),
>    and user select a value ( red )
> 
>    What command on my script i can use to get the selected value ?
> 

$self->TicketObj->FirstCustomFieldValue(myCF);



More information about the rt-devel mailing list