Added validation to Prediction form