Displays error and not error in registration fields(separate for each field) ((resolved))

I am trying to display errors and not individual errors for each fields

for example when one user tries to skip one box an error is displayed and the other box is OK so that no error is displayed

does anyone have any opportunity for help


(when the registration button is pressed )