factor(forms): dry up form errors handling