fields icon indicating copy to clipboard operation
fields copied to clipboard

Feature request: Regex validation of fields

Open finalbeta opened this issue 7 years ago • 1 comments

Hi, I think this is a feature request (But perhaps this is an option).

It would be usefull to be able to add a regex on text field entries. My use case (coming from OTRS where this is possible) is that I want to allow my customer to add his own reference to tickets/changes. However, if I let them wohatever they want, they end up writing a whole page, while this field should only contain a specific amount of characters. Adding a user costomisable regex would be usefull for this (and other cases)

finalbeta avatar Jul 15 '18 15:07 finalbeta

Hi @finalbeta

actually, fields is not compatible with regex , but it's interesting

You can propose a PR to implement this feature, or If you want to refactor this part, please contact us here GLPI Network

best regards

stonebuzz avatar Jan 23 '20 08:01 stonebuzz

There has been no activity on this issue for some time and therefore it is considered stale

If this issue is related to a bug, please try to reproduce on latest release (GLPI and plugin). If the problem persist, feel free to open a new issue.

If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.

You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.

stonebuzz avatar Feb 21 '24 16:02 stonebuzz