New trunk 2280

I had added code such that it displays an error message if the user enters more than the prescribed number of characters.