manages form errors condifering gender and multiple field errors