title: Use a Form response to create a folder in Drive when form is submitted
body: <p>I have a Google form, first question is "Client Name" I would like my script to create a folder in Drive and have the name of the folder be the response to the "Client Name" question. </p>
  
  <pre><code> function main() { 
  
  var form = FormApp.getActiveForm();
  var formResponses = form.getResponses();
  for (var i = 0; i &lt; formResponses.length; i++) {
    var formResponse = formResponses[i];
    var itemResponses = formResponse.getItemResponses();
  for (var j = 0; j &lt; itemResponses.length; j++) 
    var itemResponse = itemResponses[j];
   }
       DriveApp.getRootFolder().createFolder(itemResponse);
  
  }
  </code></pre>
  
  <p>I've been trying different combinations of this but have had no success.</p>