error messages on exceeding max length for datatables