View Issue Details

IDProjectCategoryView StatusLast Update
0017973mantisbtcustom fieldspublic2015-01-02 13:13
Reporterspacomp Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version1.2.17 
Summary0017973: Increasing the length for caption for custom field
Description

Is it possible to increase the length of caption of custom fields?

We have a situation wherein a custom field could be a kind of questionnaire and may eventually be one of the possible values as follows [Radio Buttons]

  1. To Be Verified
  2. PASS
  3. FAILED
  4. Not Applicable

By default, "To Be Verified" would be selected on selection of Report and user has make a selection from remaining three based on the result of verification from the reporter(s).

TagsNo tags attached.
Attached Files

Activities

dregad

dregad

2014-12-18 11:01

developer   ~0042035

I don't think there is any issue with creating such a custom field. Can you please clarify your problem/request is ?

spacomp

spacomp

2014-12-18 21:55

reporter   ~0042039

Attached a snapshot highlighting the point of discussion.

dregad

dregad

2014-12-19 02:59

developer   ~0042040

OK, I get it now.

You can't do this with the custom field's name because that's what it is -- a name, not really a description, which is used as caption when no corresponding language string exists for the custom field.

The right way to do this is by localizing the custom field's label, per documentation [1]. This allows unrestricted text, and even lets you use limited HTML tags (depending on your settings for $g_html_valid_tags_single_line).

[1] http://mantisbt.org/docs/master-1.2.x/en/administration_guide/admin.customize.html#ADMIN.CUSTOMIZE.CUSTOMFIELDS.LOCALIZE

spacomp

spacomp

2014-12-19 03:23

reporter   ~0042042

Thanks for this information. It might serve my purpose.

Thanks a ton!!!