how can i change the length of the custom field ?

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
krishna.teja
TestLink user
Posts: 3
Joined: Thu Dec 11, 2008 5:37 am

how can i change the length of the custom field ?

Post by krishna.teja »

Hi guys,

I have a probem with the custom fields in test link, where i am not able to enter the string values of lenth 40000,

I tried modifing the table (custom_fields) replacing the 250 value to 4000
and also changing the php gui file (input_dimensions.conf)
where i changed the CFIELD_POSSIBLE_VALUES_MAXLEN=255 to 4000

but now i am able to enter 4000 text value, but when i save it displays only 250 text value.

Please help me about this issue.
krishna.teja
TestLink user
Posts: 3
Joined: Thu Dec 11, 2008 5:37 am

Re: how can i change the length of the custom field ?

Post by krishna.teja »

krishna.teja wrote:Hi guys,

I have a probem with the custom fields in test link, where i am not able to enter the string values of lenth 40000,

I tried modifing the table (custom_fields) replacing the 250 value to 4000
and also changing the php gui file (input_dimensions.conf)
where i changed the CFIELD_POSSIBLE_VALUES_MAXLEN=255 to 4000

but now i am able to enter 4000 text value, but when i save it displays only 250 text value.
and also tried changing one more php file name %%86^865^865A8A5E%%input_dimensions.conf%7Ccfields_edit.php changing 'CFIELD_POSSIBLE_VALUES_MAXLEN' => '4000',
);
Please help me about this issue.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

255 is limit of string. you need to implement 'text' type for CF if you must use it. I recommend to consider add this your content to summary or steps with appropriate header.
krishna.teja
TestLink user
Posts: 3
Joined: Thu Dec 11, 2008 5:37 am

Post by krishna.teja »

Hi,
Can u explain the steps to do that ?
I couldnt find the way to change the data type as steps field:
Post Reply