Mantis 1.0.0rc1
http://www.futureware.biz/blog/index.ph ... &tb=1&pb=1
Im not sure, If i uderestand this feature, but Is it possible with this feature to make something like subcategories ?
I would like to have a custom field (enum type) "subcategory" which set of values depends on chosen category ?
for example :
if I choose category 'animals', subcategory values are 'cat'|'dog' . If i choose category 'plants', subcategory values are 'flower'|'tree'.
If it is possible, could someone paste proper custom function, PLEASE ? :)
q : Enumeration Custom Fields with Dynamic Possible Values
Moderators: Developer, Contributor
Im stuck in a similar problem than yours.
this method works like a charm when "Animals" and "Plants" are projects.
When the report form loads, it is project-specific and the custom field shows the project specific items.
But the thing comes when you want to link two custom fields between them, I think that that is not possible using this method.
I want to do something like:
Project: SMS
Possible acceses: 9009|5200|etc...
Possible prefixes: If (Possible acceses) = 9009 -> A|B|C
If (Possible acceses) = 5200 -> D|E|F
Project: IVR
Possible acceses: 123|1234|etc...
Possible prefixes: If (Possible acceses) = 123-> G|H|I
If (Possible acceses) = 1234-> J|K|L
Is this possible?
Another solution would be like doing a big enum showing data like this:
9009-A|9009-B|9009-C|5200-A|5200-B|etc... but that looks horrible
this method works like a charm when "Animals" and "Plants" are projects.
When the report form loads, it is project-specific and the custom field shows the project specific items.
But the thing comes when you want to link two custom fields between them, I think that that is not possible using this method.
I want to do something like:
Project: SMS
Possible acceses: 9009|5200|etc...
Possible prefixes: If (Possible acceses) = 9009 -> A|B|C
If (Possible acceses) = 5200 -> D|E|F
Project: IVR
Possible acceses: 123|1234|etc...
Possible prefixes: If (Possible acceses) = 123-> G|H|I
If (Possible acceses) = 1234-> J|K|L
Is this possible?
Another solution would be like doing a big enum showing data like this:
9009-A|9009-B|9009-C|5200-A|5200-B|etc... but that looks horrible