title: How to automatically assign/generate/increment an ID number into Google Form responses, so that respondents can access their own forms based on it?
body: <p>I would like to set up a (Google) form-filling system, that essentially has to be accessed and filled two times (before and after the completion of a project). I would like to create a form one can return to by filling in an ID number.</p>
  
  <p>For that, I would need a script that automatically generates an ID number for each respondent. I have found '<a href="https://stackoverflow.com/questions/13020194/google-apps-script-for-form-generate-unique-id-number">Google Apps Script for Form, Generate Unique ID Number</a>', but I couldn't get it to work (I am not good at scripting yet). I would like to be able to decide how the ID numbers are generated (for example to have non-numeric characters as well, e.g. XYZ000000001, XYZ00000002, XYZ00000003, etc.)</p>
  
  <p>The reason I want to do this is so that respondents can access their own responses based on the ID assigned to Them. I found two possible solutions, but again, I can't manage them. One code is the '<a href="https://developers.google.com/apps-script/reference/forms/form-response" rel="nofollow">Class FormResponse</a>' that fetches the existent information (if I understand it well enough), and the other is '<a href="https://stackoverflow.com/questions/33587816/generate-unique-form-url-for-each-respondent">Generate unique Form URL for each respondent</a>' which generates a unique URL for each respondent. That would work fine, but I still need the IDs for easier data maintenance.</p>
  
  <p>This is a lot of code and I'm not sure if it makes sense to combine all of it. Perhaps there is an easier way to achieve what I want with a way simpler script. I will break down the process as I imagine it, into steps:</p>
  
  <ol>
  <li>Send a form to AA@zive.com,BB@zive.com,CC@zive.com.</li>
  <li>For example, BB only has a project planned, so BB receives the form which asks: Is Your project planned or completed?</li>
  <li>BB chooses the first option and fills in the details.</li>
  <li>BB gets a unique ID which is inserted into the first column of the responses.</li>
  <li>The ID is sent back in a <a href="https://developers.google.com/apps-script/quickstart/forms" rel="nofollow">response email</a> to BB (perhaps the linked script can be tweaked to send the unique ID).</li>
  <li>After a couple of months, BB has completed the project, so BB goes back to the form, either via the same email sent in step 1, or the same form embedded on a website.</li>
  <li>BB now chooses the second option, since the project is completed.</li>
  <li>The form asks for the ID number, BB fills it.</li>
  <li>All of BB's answers now go to the row with the matching ID, overwriting certain fields if necessary...</li>
  </ol>
  
  <p>I am aware that this might be a bit complex, but any even partial answer accompanied by some snippets of code would be highly appreciated. I will gladly share it once I manage to compile the whole idea. :)</p>