Added record for training with front-end validation and template for back-end validation