Worked on validation of input fields.