adding groups of form elements