I am looking to use a Gravity Form that will create a new media post with a file attached (PDF or DOCX). I have used the Custom Post Type plugin and this works fine when you choose Image in the in the Post Fields section and upload an image. It create a new media item with the image.
However I don't want the media type to be an image. I want it to be a PDF or DOCX file to allow staff to add Letters to a site, without going into the backend.
Therefore is there a way to either:
- Add additional media types (mine types) to the "Image" fields in Post Fields so it allows PDF's and DOCX file as well as the normal image types; or
- Make Gravity forms attach files from the "File Upload" field under advanced fields to the post created by the form?
Thanks in advance.