Input validation when making an agenda