title: get value for specific question/item in a Google Form using Google App Script in an on submit event
body: <p>I have figured out how to run a Google App Script project/function on a form submit using the information at <a href="https://developers.google.com/apps-script/guides/triggers/events#form-submit_4" rel="nofollow noreferrer">https://developers.google.com/apps-script/guides/triggers/events#form-submit_4</a>.</p>
  
  <p>Once I have <code>e</code> I can call <code>e.response</code> to get a <a href="https://developers.google.com/apps-script/reference/forms/form-response" rel="nofollow noreferrer"><code>FormResponse</code></a> object and then call <a href="https://developers.google.com/apps-script/reference/forms/form-response#getItemResponses()" rel="nofollow noreferrer"><code>getItemResponses()</code></a> to get an array of all of the responses. </p>
  
  <p>Without iterating through the array and checking each one, is there a way to find the ItemResponse for a specific question?</p>
  
  <p>I see <a href="https://developers.google.com/apps-script/reference/forms/form-response#getResponseForItem(Item)" rel="nofollow noreferrer">getResponseForItem(item)</a> but it looks like I have to somehow create an <a href="https://developers.google.com/apps-script/reference/forms/item" rel="nofollow noreferrer">Item</a> first? </p>
  
  <p>Can I some how use <code>e.source</code> to get the <a href="https://developers.google.com/apps-script/reference/forms/form" rel="nofollow noreferrer">Form</a> object and then find the <code>Item</code> by question, without iterating through all of them, so I could get the <code>Item</code> object I can use with <code>getResponseForItem(item)</code>?</p>