Drop down menu

Hi,

I want to show the Custom Fields in a drop down menu, rather than in a
list.

Does anybody know how I can tell RT to show CF in a drop down menu? I
assume there is a way to tell RT to show the database results in a drop
down menu?

I have tried to use SelectCustomFieldvalue, but I only get errors. Doen
anybody know however, where SelectCustomFieldValue is used in the RT
code?

Hilde

copy rt\Elements\EditCustomFields to
rt\local\html\Elements\EditCutsomFields

edit rt\local\html\Elements\EditCutsomFields

at the bottom you will find:

<%ARGS>
$Object => undef
$CustomField => undef
$NamePrefix => undef
$Rows => 5
$Cols => 15
$Default => undef
</%ARGS>

change the $Rows value to 1

$Rows => 1

that’s it…

Filip

CONFIDENTIALITY NOTICE
This E-mail message and any documents which accompany it are intended only for the use of the individual or entity to which addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader is not the intended recipient, any disclosure, distribution or other use of this E-mail message is prohibited. If you have received this E-mail message in error, please delete and notify the sender immediately. Thank you.

I have the same issue … I do not get a drop down list when I set rows to 1.

Iris-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com]On Behalf Of Hilde T
Lauvset Rafaelsen
Sent: Thursday, July 14, 2005 9:07 AM
To: Filip Jonckers; rt-users@lists.bestpractical.com
Subject: SV: [rt-users] Drop down menu

Thanks,

I’ve already tried that, but I don’t get a drop down menu, I still have
to scroll down.

Hilde

-----Opprinnelig melding-----
Fra: Filip Jonckers [mailto:fjonckers@Interconnect.be]
Sendt: 14. juli 2005 14:52
Til: Hilde T Lauvset Rafaelsen; rt-users@lists.bestpractical.com
Emne: RE: [rt-users] Drop down menu

copy rt\Elements\EditCustomFields to
rt\local\html\Elements\EditCutsomFields

edit rt\local\html\Elements\EditCutsomFields

at the bottom you will find:

<%ARGS>
$Object => undef
$CustomField => undef
$NamePrefix => undef
$Rows => 5
$Cols => 15
$Default => undef
</%ARGS>

change the $Rows value to 1

$Rows => 1

that’s it…

Filip

CONFIDENTIALITY NOTICE
This E-mail message and any documents which accompany it are intended
only for the use of the individual or entity to which addressed, and may
contain information that is privileged, confidential or exempt from
disclosure under applicable law. If the reader is not the intended
recipient, any disclosure, distribution or other use of this E-mail
message is prohibited. If you have received this E-mail message in
error, please delete and notify the sender immediately. Thank you.

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Brookes, Iris wrote:

I have the same issue … I do not get a drop down list when I set rows to 1.
What do you mean by “drop dwon list”?
HTML standard has only checkboxes, radio buttons and select elements
that allow you to choose one/more values.

I meant to is a drop-down menu.From: Ruslan U. Zakirov [mailto:Ruslan.Zakirov@miet.ru]
Sent: Thursday, July 14, 2005 12:20 PM
To: Brookes, Iris
Cc: Hilde T Lauvset Rafaelsen; Filip Jonckers;
rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Drop down menu

Brookes, Iris wrote:

I have the same issue … I do not get a drop down list when I set rows to 1.
What do you mean by “drop dwon list”?
HTML standard has only checkboxes, radio buttons and select elements
that allow you to choose one/more values.

Iris

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com]On Behalf Of Hilde T
Lauvset Rafaelsen
Sent: Thursday, July 14, 2005 9:07 AM
To: Filip Jonckers; rt-users@lists.bestpractical.com
Subject: SV: [rt-users] Drop down menu

Thanks,

I’ve already tried that, but I don’t get a drop down menu, I still have
to scroll down.

Hilde

-----Opprinnelig melding-----
Fra: Filip Jonckers [mailto:fjonckers@Interconnect.be]
Sendt: 14. juli 2005 14:52
Til: Hilde T Lauvset Rafaelsen; rt-users@lists.bestpractical.com
Emne: RE: [rt-users] Drop down menu

copy rt\Elements\EditCustomFields to
rt\local\html\Elements\EditCutsomFields

edit rt\local\html\Elements\EditCutsomFields

at the bottom you will find:

<%ARGS>
$Object => undef
$CustomField => undef
$NamePrefix => undef
$Rows => 5
$Cols => 15
$Default => undef
</%ARGS>

change the $Rows value to 1

$Rows => 1

that’s it…

Filip

CONFIDENTIALITY NOTICE

This E-mail message and any documents which accompany it are intended
only for the use of the individual or entity to which addressed, and may
contain information that is privileged, confidential or exempt from
disclosure under applicable law. If the reader is not the intended
recipient, any disclosure, distribution or other use of this E-mail
message is prohibited. If you have received this E-mail message in
error, please delete and notify the sender immediately. Thank you.


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

At Thursday 7/14/2005 07:31 AM, Hilde T Lauvset Rafaelsen wrote:

I want to show the Custom Fields in a drop down menu, rather than in a
list.

Does anybody know how I can tell RT to show CF in a drop down menu? I
assume there is a way to tell RT to show the database results in a drop
down menu?

I just made a mod to Elements/EditCustomFieldSelect to do this - I just changed

size="<%$Rows%>"

to

size="<% $Multiple ? $Rows : 1 %>"

This will still display a multiple-select element as a multi-line list. If
you want ALL select elements to be displayed with just one line, you could
use size=“1”, or omit the size attribute altogether.

Steve