I have a form, linked to a spreadsheet. On this spreadsheet I have a script working on the answers of the form. The script have to generate a mail to the user who answered the form, and sometimes ask him to modify his answer. I want to generate a pre-filled-form link (pre-filled with the answer of the user), to send it by mail and so let him change only what i want him to change (not have to fill all the form again)
I saw there is a way to do that using the function
getEditResponseUrl()
--> var 'responses' = 'myform'.getResponses();
--> var 'modificationUrl' = 'responses'[?].getEditResponseUrl()
I don't know which 'responses' of the form to take. (because I have less line in my spreadsheet than number of form response...
Please, is there any way to know which response to use to do the getEditResponse (using the time for exemple..; but I don't know how)
Thank you in advance.