Preselect files the user send last request - html

My user is completing a form where he has to upload files. Now something is wrong and I send the same page again and the user don't want to fill out the whole form again, so I enter the data send in the form automaticly. This is pretty easy with textboxes and select statements, but how do you do that with the file input?

Related

Google script run after email confirmation

In this case, I don't have a code or screenshots to share because I honestly don't know how to even start it :)
We have a spreadsheet (Google Sheets) which have numerous scripts built into it. They run mainly based on form submission and don't require any further confirmation after a form is submitted. For this new form we wish to implement, we would like to script to run only after a user has confirmed via email. Here's the rundown:
User A (normally from the administration department) will input data into a form.
Once form is submitted, this data will be sent to another user (User B) for confirmation. We would like this process to happen over email, and not directly via Google Sheets prompt.
Once User B confirmed data is good, a script will run to compile the data and perform several actions on it.
No problem to send an email via script but how do we include a confirmation button/link to it and how do we capture this clink to continue the compiling of this data?
Thanks :)
User A Enters data into Form and Presses Submit
FormSubmit Script recovers data and sends email to user B
User B reviews data and Presses a link on the email which sends a request via a web app to complete the transaction at a later time.
You can probably customize the webapp link with query string parameters so that the transaction can be completed without any further interaction but it will probably take a couple of days of programming to complete and test the job.

Sending form data to email or autoresponder

I have a html form that sends users to register.aspx... here's what it begins with:
It takes input from user like username, password, emailaddress etc. and then creates an account for them.
I want to add one more functionality to the form... when use clicks 'Submit' they should as well receive an automated email from me saying that you're account has been created. The email should have a copy of the use details as well.
How is this possible?
I want to do this at the form level.

Editing Form Responses Programmatically

I have a google script that generates the edit URLs for each form response that is dumped into my spreadsheet. Is there a way to programatically change the response values as if I had actually opened the URL and changed the values manually?
For example, suppose someone submitted a form with the name field being "Sam." I want to be able to programmatically edit this response so that the value of the same field is "Samuel."
This is very easy to do manually via the form response edit url, however I am running into issues trying to do this in my scripts.

Google App Script for Forms variable

I have a AppScripts code for creating an expiry date for a Google form. In the code the initial time from which the user can submit a response has to be dynamically changed depending upon the time at which the form goes live every time. This is because of the use case of the form. I can't allow the administrator to go to Script editor and change the value manually everytime he wants the Form go live.
Is there a possibility through which the date can be put in dynamically through an interface.
Here is the link from which I have taken the code.
And in this context I am talking about the variables named:
FORM_OPEN_DATE and FORM_CLOSE_DATE.
You could make a sideBar or a popup with the Html Service and have a little form or prompt dialag where the user can input the variables

Set a Google Form's elements when a user is entering for submit

Suppose I have the following:
Spreadsheet A
and I want to show the users a different question every time they enter a form for submitting (they see only one question in the form):
Form A
But there's another more difficult catch:
The form must check with the spreadsheet data which bands are still "unrated" by this user, and only show a question for one of those bands. If the user has rated every band in the spreadsheet, then the form should only show a "There are no more bands to rate" message.
And, the submit of the responses should be in this way:
Form A Responses
Is this possible with Google Forms, App Script, etc.?
not possible with apps script. you cannot modify the form at show time.
at most you can adjust the form (during onFormSubmit) for the next user to see. thus its impossible to customize for a specific user and you can also run into timing issues even if user is not important.