modify post client validation to show error after click post button