title: Google Apps Script for Spreadsheet - Keep getting the function () { [native code] } error
body: <p>I execute my function, and it returns a function () { [native code] } error alongside the proper outputs. Example: <a href="https://i.stack.imgur.com/AgXha.jpg" rel="nofollow noreferrer">Input</a> <a href="https://i.stack.imgur.com/HeFri.jpg" rel="nofollow noreferrer">Output</a></p>
  <p>My code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function SubmitInput() {
    var ss = SpreadsheetApp.getActiveSpreadsheet();
    var inputS = ss.getSheetByName("FORM");
    var outputS = ss.getSheetByName("ARCHIVE")
  
    var values = [[inputS.getRange("C7").getValue,
                  inputS.getRange("C9").getValue(),
                  inputS.getRange("C11").getValue(),
                  inputS.getRange("F7").getValue(),
                  inputS.getRange("F9").getValue(),
                  inputS.getRange("F11").getValue(),
                  inputS.getRange("I7").getValue(),
                  inputS.getRange("I9").getValue()]];
   outputS.getRange(outputS.getLastRow()+1, 1, 1, 8).setValues(values);
   ClearCell();
  }</code></pre>
  </div>
  </div>
  </p>