[rt-users] Custom Field select boxes erroneously displayed as multi-select...?

Ken Crocker kfcrocker at lbl.gov
Thu Mar 26 14:52:09 EDT 2009


Richard,


    I was given the following code to modify the way Custom Fileds are 
presented:

#   To modify the way certain Custom Fields are set up for entering data,
#   the following code should be *added* after line #76 and before the 
last "return"
#   command in the directory 
/$RTHOME/rt-3.6.4/local/html/Elements/*EditCustomField
#
***

 if ($Type eq "Text")
    {
     $Rows = 8;
     $Cols = 50;
     }
elsif ($Type eq "Wikitext")
    {
     $Rows = 8;
     $Cols = 50;
    }
elsif ($Type eq "Select" and $MaxValues == 1)
   {
    $Rows = 1;
    $Cols = 30;
   }

    Hope this helps.


Kenn
LBNL

On 3/26/2009 10:37 AM, Richard Foley wrote:
> Hi Ken,
>
> Yes please, that sounds perfect :-)
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090326/fe72e0ba/attachment.htm>


More information about the rt-users mailing list