dependent custom fields
Moderators: Developer, Contributor
dependent custom fields
Hello everyone. There is a custom field A as a list with elements 1,2,3,4. There is a custom field B as a list with elements 1.1, 1.2, 1.3, 1.4, 2.1, 2.2, 2.3 Is it possible to make it so that if I select element 1 in field A in the form of creating a new task, then I see only 1.1, 1.2, 1.3, 1.4 in another field B, and if I select 2 in field A, then only 2.1, 2.2, 2.3, 2.4 would be visible in field B? That is, the number of items in field B depended on the selected item in field A. Thank you so much for your help.
- Attachments
-
- short_time_v.png (19.74 KiB) Viewed 6435 times
Re: dependent custom fields
look for the plugin LinkedCustomFields, that one does exactly what you ask for
Re: dependent custom fields
thanks for the answer, but I can't connect new plugins except for those ones. which went built-in during installation. I add a folder from the archive to the plugins directory, but it does not appear on the manage plugins page. I can't install any plug-ins. Please help me understand the reason?
Re: dependent custom fields
First you need to download the plugin, see here:
https://www.mantisbt.org/wiki/doku.php/ ... stomfields
Next you need to install it, which is described in the admin manual which is available within the distribution ( see the doc/en directory where you will find the PDF version).
https://www.mantisbt.org/wiki/doku.php/ ... stomfields
Next you need to install it, which is described in the admin manual which is available within the distribution ( see the doc/en directory where you will find the PDF version).
Re: dependent custom fields
I have carefully reviewed all the documentation. I download the plugin, take a folder from the archive with the name of the plugin (which contains the php file and the plugin configuration files. I copy the folder to the /plugins folder. In the same folder there are folders with plugins that came with the installation of Mantis. I go to the plugin management folder as an administrator. BUT! in the window that opens, there are no new plugins to install. I click the update button. BUT! plugins do not appear. What am I doing wrong?cas wrote: ↑10 Feb 2021, 15:51 First you need to download the plugin, see here:
https://www.mantisbt.org/wiki/doku.php/ ... stomfields
Next you need to install it, which is described in the admin manual which is available within the distribution ( see the doc/en directory where you will find the PDF version).
Re: dependent custom fields
have partially solved my question. It turned out that the copy to the folder came from another owner (not root) now the plugin is displayed among the possible ones for installation, but there is no install button in the "Action" field. What could be the reason?rondezo wrote: ↑11 Feb 2021, 06:12I have carefully reviewed all the documentation. I download the plugin, take a folder from the archive with the name of the plugin (which contains the php file and the plugin configuration files. I copy the folder to the /plugins folder. In the same folder there are folders with plugins that came with the installation of Mantis. I go to the plugin management folder as an administrator. BUT! in the window that opens, there are no new plugins to install. I click the update button. BUT! plugins do not appear. What am I doing wrong?cas wrote: ↑10 Feb 2021, 15:51 First you need to download the plugin, see here:
https://www.mantisbt.org/wiki/doku.php/ ... stomfields
Next you need to install it, which is described in the admin manual which is available within the distribution ( see the doc/en directory where you will find the PDF version).
- Attachments
-
- plugin.png (105.48 KiB) Viewed 6358 times
Re: dependent custom fields
Well it states it is missing a dependency, you need to install the Jquery plugin, version 1.8 or above ( see here: https://github.com/mantisbt-plugins/jQuery-UI).
Once all dependencies are met, the install button will magically appear
Once all dependencies are met, the install button will magically appear
Re: dependent custom fields
the plugin had an install button, so I installed it. and on the other plugin, the install button did not appear.cas wrote: ↑11 Feb 2021, 11:42 Well it states it is missing a dependency, you need to install the Jquery plugin, version 1.8 or above ( see here: https://github.com/mantisbt-plugins/jQuery-UI).
Once all dependencies are met, the install button will magically appear
another inspector in the browser gives the error Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://****domen****/mantis/plugin_file.php?file=jQueryUI/jquery-ui-min.css".
What did I do wrong?
- Attachments
-
- С123.png (102.17 KiB) Viewed 6337 times
Re: dependent custom fields
You did not install the JQuery plugin properly, get that one sorted first, next you can install the LinkedCustomFields plugin.
Re: dependent custom fields
get that one sorted first - Please explain what this means?
I moved the plugin folder to the plugins folder. Then, in ase.css and ace.min.css, I replaced (in accordance with the instructions for the plugin) the url ('images/) with the url ('plugin_file.php?file=jQueryUI/ in two lines.
Rename files to avoid having several dots in filename (incompatible with plugin_file) -- I did not understand how to do this, I ask for your help.
After that, I installed the jQuery plugin.
Please help me solve my problem.
What did I do wrong?
Thank you so much for your attention to my question!!
Re: dependent custom fields
I will install this one myself later today and let you know what needs to be done
Re: dependent custom fields
Please download the latest version from here:
https://www.mantisbt.org/bugs/view.php?id=24226
This one seems to be working, no need for the jquery plugin either.
So first remove the current linkedcustomfields plugin and the jquery plgin.
Next add the plugin from the link above.
https://www.mantisbt.org/bugs/view.php?id=24226
This one seems to be working, no need for the jquery plugin either.
So first remove the current linkedcustomfields plugin and the jquery plgin.
Next add the plugin from the link above.
Re: dependent custom fields
Thank you very much!!! The plugin was installed correctly!cas wrote: ↑16 Feb 2021, 09:25 Please download the latest version from here:
https://www.mantisbt.org/bugs/view.php?id=24226
This one seems to be working, no need for the jquery plugin either.
So first remove the current linkedcustomfields plugin and the jquery plgin.
Next add the plugin from the link above.
Re: dependent custom fields
But the plugin itself does not work. Everything links like, but when creating a task, there is no connection between the lists.rondezo wrote: ↑16 Feb 2021, 10:54Thank you very much!!! The plugin was installed correctly!cas wrote: ↑16 Feb 2021, 09:25 Please download the latest version from here:
https://www.mantisbt.org/bugs/view.php?id=24226
This one seems to be working, no need for the jquery plugin either.
So first remove the current linkedcustomfields plugin and the jquery plgin.
Next add the plugin from the link above.