Added form validation and predicted percentage precision