Reformat the form with horizontal elements