+9

Configure mandatory field in computer assets

Alex11111 10 месяцев назад 0

Good night,

I just installed GLPI 10.0.11 and I would like to set some fields as required(mandatory) when we register an asset in computers. I have been researching and from what I see it is only possible to create required fields in ticket templates or using the "Form validation" plugin.

FormValidation Plugin: https://github.com/tomolimo/formvalidation

I have tried(install) the Form Validation plugin, but from what I have seen it only allows mandatory fields to be created during the user session and we cannotapply simultaneously to several users.

This is the message from the plugin: Edit mode (valid for current session only, will be reset at next login)

Not finding a way to create mandatory fields, I tried to modify the glpi_computers table of the DB (glpi) by executing the following command:

ALTER TABLE glpi_computers MODIFY name VARCHAR(255) NOT NULL DEFAULT 'mandatory';

However, you could still add teams with the "name" field empty. Is there an option to create mandatory fields in computer assets?

Сервис поддержки клиентов работает на платформе UserEcho