add parameter to configuration file which defines the value of 'warning message'. This message will be activated when the user entered motif on the label and the number of chars in the text string will be more than value set. Message text itself could be stored in validation xml.