form error and content grouping