Started porting validationRule method. Required and email covered
showInputError method updated