Is there an easy way to create a custom input mask for an attribute?
Specifically I would like an attribute for MAC-address that forces this format:
[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]
For IP addresses a specific type (inet) is available.
For macaddress is not available a specific type, and it is not simple to add.
To do that you should change the “core” code CMDBuild client side, then losing backwards compatibility with new versions.
Rather you should add a trigger in the database, checking the correctness of the value of the field and forcing an error if it is not valid.
CMDBuild Team