Applying Validation & Displaying Error Messages