Marco,<br><br>Try "$Ticket->FirstCustomFieldValue('Name of CF')" for templates and<br>"$self->TicketObj->FirstCustomFieldValue('Name of CF')" for scrips.<br><br>I believe there is an example in the book.<br>
<br>Kenn<br>LBNL<br><br><div class="gmail_quote">On Tue, Sep 7, 2010 at 8:51 AM,  <span dir="ltr"><<a href="mailto:Marco.deSousa@billag.com">Marco.deSousa@billag.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">







<div>
<font face="Arial, sans-serif" size="2">
<div>Hello,</div>
<div> </div>
<div>I have a ticket with some Custom Fields.</div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div>I wrote a scrip and i need to read the Custom Fields values,</div>
<div>but i don't find the command.</div>
<div> </div>
<div>For example, if i have a CF myCF(combobox) with values ( red, orange, green),</div>
<div>and user select a value ( red )</div>
<div> </div>
<div>What command on my script i can use to get the selected value ?</div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div>I look for something like that:</div>
<div>$myColor = $myCF->getSelectedValue; </div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div>now $myColor has 'red'</div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div>Tanks best regards.</div>
<div> </div>
<div>Marco</div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
</font>
</div>

<br><br>
RT Training in Washington DC, USA on Oct 25 & 26 2010<br>
Last one this year -- Learn how to get the most out of RT!<br></blockquote></div><br>