If the validation fails for either display the appropriate error message beside the textbox

Showing the single result

Showing the single result