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

Marco.deSousa at billag.com Marco.deSousa at billag.com
Tue Sep 7 11:51:51 EDT 2010


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 ?

I look for something like that:
$myColor = $myCF->getSelectedValue;

now $myColor has 'red'




Tanks best regards.

Marco

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20100907/d37be3fa/attachment.html>


More information about the rt-devel mailing list