Form validated and errors displayed in better way