Use form responses to fill out template document