'How to attach additional data or edit current data in Google Forms through code?

I have a form that needs to be displayed after an individual has logged in. The form itself contains only one field to upload an image. I want to be able to associate this image to the particular user who uploaded it. This name field should be fixed and equal to the user name entered by the user when they logged in. Let's say it is denoted by a div with id = "userName". I want to use jquery or javascript selector to get this "userName" field and fill this value into the form, or attach it to the data before sending it to drive. Is that doable?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source