formating sub form in email_directory