Document file link not generated on form submit