Basic validation working