Add little validation on class form