added getFirstMessage for validator widget