Add custom field based on category

Post about your customizations to share with others.

Moderators: Contributor, Developer

Add custom field based on category

Postby mcoursolle » Jul 21, 2017 12:36 pm

I created some custom fields that I have assigned to a project. However, I would like to show those fields only when the user selects a specific category.

For instance, let's say I have 2 categories (Module A, Module B). And I created a custom field called "SomeValue". Is there a way to specify that "SomeValue" is only visible/available when Module A category is selected.

Otherwise, I get a lot on unused and non-applicable fields.

Thank you,

Mathieu
mcoursolle
 
Posts: 3
Joined: Mar 06, 2017 11:23 am

Re: Add custom field based on category

Postby atrol » Jul 23, 2017 4:01 am

This is not possible out of the box.
You would have to write a plugin, similar to this one https://github.com/mantisbt-plugins/lin ... tom-fields
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6714
Joined: Mar 26, 2008 4:37 pm
Location: Germany


Return to Customizations

Who is online

Users browsing this forum: No registered users and 7 guests