Javascript Error on attaching files


Posted by Alex Crichton-Brown - Jun 10 ’15 at 04:04

A production form is mostly working howver an error was recently reported.  When using the ribbon button or attach button on an SPForms Designer form nothing happens for the user and the following javascript error is found in the browser console:

'document.getElementById(...)' is null or not an object

Anay advice would be appreciated

  • Dmitry Kozlov
    Dmitry Kozlov
    Member for: 8 years 2 months 15 days
    #1 by Dmitry Kozlov Jun 10 ’15 at 04:07


    Please, ensure that you put the Attachments field onto your form in Forms Designer.

  • Alex Crichton-Brown
    Alex Crichton-Brown
    Member for: 6 years 5 months 27 days
    #2 by Alex Crichton-Brown Jun 10 ’15 at 04:34

    Thank you for your swift reply thtat was the problem one of the delegated site owners had removed the field

Displaying 1 to 2 of 2 messages