It would be a good idea to validate at the moment you add Elements to a domain, that the length of the domain is sufficient to store the element database value.
For example:
Domain will be added with data type VARCHAR, length 5.
Element with database value "TestValue” will be added.
The system alerts the developer that it’s not possible to add this value as it would not fit within the domain setting of max. 5 characters.
This would avoid frustration at testing when the developer notices that it’s inpossible to store the full database value "TestValue”.

