PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Cannot read .docx attachments - please help!

  1. kk
    Member

    I have built a form and it is working fine, except that when people attached a .docx file. If they attached a .doc file, it can be opened or downloaded to read fine. However, if they attached the newer WORD version of .docx, the file opens as a folder of XML files that can't be read by normal non-computer people. If I save it out, it save out as a .zip file. Then extracts to a folder containing various XML files and folders.

    The form is for submitting resumes for job applications so I need to fix this quickly before more people submit their resumes in .docx files that we can't read or open.

    Thanks!!

    Posted 13 years ago on Monday August 15, 2011 | Permalink
  2. This is largely due to configuration on the client end and out of the control of Gravity Forms. What operating system are you working on, and what program do you expect to open the .docx file?

    Posted 13 years ago on Monday August 15, 2011 | Permalink
  3. I had previously done a little research on it here:

    http://www.gravityhelp.com/forums/topic/docx-converted-to-zip#post-13111

    Posted 13 years ago on Monday August 15, 2011 | Permalink
  4. kk
    Member

    The person using the form is using a PC.
    I have read your other thread, and will perhaps try and ask our ISP to change the MIME type. What should I say it should be changed to?

    Posted 13 years ago on Monday August 15, 2011 | Permalink
  5. Do you know what browser they are using and what program should open the .docx files?

    You can always do a "save as" instead of just clicking, to save the file, then double click to open it. Assuming the proper application is associated with .docx files, that will work fine. It's clicking it from within the browser that creates a problem.

    On the web host, this can be added to the .htaccess file in your document root:

    http://www.webdeveloper.com/forum/showpost.php?p=898935&postcount=2

    Posted 13 years ago on Monday August 15, 2011 | Permalink
  6. kk
    Member

    I have found one solution ... it may help others ... but first:
    There are a few people who will be downloading and viewing the attachment files, so I don't know for sure which browser they are using. I am using IE myself.
    I have tried both "Save" and "Open", which are the 2 options presented when I went to view the entries. But whether I save or open, the .docx file comes down as a folder, with XML files in it.
    .docx is MS Word 2007 or later. I have both 2007 and 2010 ...
    The solution - I tried the same thing on the machine that has Word 2010, and the files open and save out fine. So it seems that you have to have the correct version of Word to have the file transfer properly. The file won't open or save out in its original format if you don't have the correct version of Word installed!
    Thanks for your help.

    Posted 13 years ago on Monday August 15, 2011 | Permalink
  7. Glad you got that sorted out.

    Posted 13 years ago on Monday August 15, 2011 | Permalink

This topic has been resolved and has been closed to new replies.