I have this code to which displaying errors on my form
&
Thing is required. Thing is invalid.
You could create a reusable component for showing errors so you don't need to repeat this code again and again.