error message can be shown on page and hid when input is valid
error message can be shown on page and hid when input is valid