Help with default value for custom fields

Hi All,

Can someone help me on how to write a scrip to set the default value for
custom fields? I would like to have default value for the custom field
instead of no value. I have search the list and look at wiki but cannot
figure out the way. Can someone help me with some details? For example, how
to specify which field to set? Thanks a lot.

Best Regards,
Ada

Get 10Mb extra storage for MSN Hotmail. Subscribe Now!
http://join.msn.com/?pgmarket=en-hk

Ada Hui wrote:

Hi All,

Can someone help me on how to write a scrip to set the default value for
custom fields? I would like to have default value for the custom field
instead of no value. I have search the list and look at wiki but cannot
figure out the way. Can someone help me with some details? For example,
how to specify which field to set? Thanks a lot.
See custom field section. It’s not exactly what you need, but you can
refactor and adapt it easy.
http://wiki.bestpractical.com/index.cgi?WriteCustomAction

What type of custom field?On Sun, Jul 25, 2004 at 11:58:22AM +0000, Ada Hui wrote:

Hi All,

Can someone help me on how to write a scrip to set the default value for
custom fields? I would like to have default value for the custom field
instead of no value. I have search the list and look at wiki but cannot
figure out the way. Can someone help me with some details? For example, how
to specify which field to set? Thanks a lot.

Best Regards,
Ada


Get 10Mb extra storage for MSN Hotmail. Subscribe Now!
http://join.msn.com/?pgmarket=en-hk


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

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

For example, if I have a custom field “category” with options A, B and C. If
I would like to have B as the default, how could i do that? I have tried
with some scrip but with no luck. Thanks for your help.

Ada

From: Todd Chapman rt@chaka.net
To: Ada Hui myqu@hotmail.com
CC: rt-users@lists.fsck.com
Subject: Re: [rt-users] Help with default value for custom fields
Date: Mon, 26 Jul 2004 12:09:17 -0400

What type of custom field?

Hi All,

Can someone help me on how to write a scrip to set the default value for
custom fields? I would like to have default value for the custom field
instead of no value. I have search the list and look at wiki but cannot
figure out the way. Can someone help me with some details? For example,
how
to specify which field to set? Thanks a lot.

Best Regards,
Ada


Get 10Mb extra storage for MSN Hotmail. Subscribe Now!
http://join.msn.com/?pgmarket=en-hk


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

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

Linguaphone : Learning English? Get Japanese lessons for FREE
http://go.msnserver.com/HK/46165.asp

Ada Hui wrote:

For example, if I have a custom field “category” with options A, B and
C. If I would like to have B as the default, how could i do that? I have
tried with some scrip but with no luck. Thanks for your help.
http://wiki.bestpractical.com/index.cgi?DefaultCustomFieldValue
Didn’t test so please report back on success or errors.

				Best regards. Ruslan.