Google-sheets – Show unique ID on the form (before submitting)

google sheetsgoogle-apps-scriptgoogle-forms

I need an anonymous form (no names, emails etc) that shows unique ID so that if a person decided to reveal that ID to me I will be able to find his/her answers in the spreadsheet. The ID can show on the form or in the "Thank you" massage after submitting. Like mentioned before – emailing is not an option. I know of similar posts but for this particular problem I haven't found an answer.

Best Answer

Interacting with Google Forms before or during submission is not possible.

Alternative

You could use the Google Apps Script HTML Service for designing the "Thank you" message page presented after submitting the form (that will carry the ID followed by an explicit message for the submitters to copy down this ID) and create an app to handle your issue.
You could start though by creating a unique ID for your submissions.