How to Re-size the TextBox created when putting a custom field on CreateTicket

Hi All ,

I added a custom field , name “Problem Description” (TextBox) …

It comes on the page fine … but I would like to re-size it … and
reposition it . …

Is there a way we could achieve that …

Thanks & Regards

Vikas …

Vikas,

Same thing. Create a local version of
/opt/rt3/share/Elements/EditCustomField. Then make your changes there.
We use the following code to change the size of text boxes as well as turn
select lists into drop-down lists:

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

LBNLOn Tue, Sep 21, 2010 at 5:14 PM, Vikas Srivastava < vikas.k.srivastava@gmail.com> wrote:

Hi All ,

I added a custom field , name “Problem Description” (TextBox) …

It comes on the page fine … but I would like to re-size it … and
reposition it . …

Is there a way we could achieve that …

Thanks & Regards

Vikas …

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year – Learn how to get the most out of RT!