properly format CMS form