Sending form data to email or autoresponder - html

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.

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.

Google form get email ID when form is loaded for response

I know there is a getRespondentEmail() which retrieves the email id. But if i'm understanding this correctly, it is only when user submits the form then I'll get information through this. Is there a way to get email id when form is loaded for response. Objective is as follows:
1) Get email id when form is loaded for response
2) access a google sheet and filter data based on this email ID
3) provide the filtered list as a drop down for selecting within the form.
Answer:
This is not possible using Google Forms.
Explanation:
In order to get user information before a user has submitted a form, direct access to the browser session must be retrieved by Google's server before form submission. This isn't done.
Until a form has been submitted by the user, therefore giving explicit permission to submit their responses and email address, no information is communicated to Google's servers and as such the email address can not be retrieved before the user submits their answers.
Users are even prompted that their email will be sent with their responses once they submit if the Collect email addresses checkbox is ticked in the Form Settings, as this is personal information and they need to decide if they wish to send this information or not:
Implementing this would be a privacy issue so I can not foresee Google creating this option in the future either.

Preselect files the user send last request

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?

Using a custom script on Google Forms

I trying to create a custom script to collect the email filled on field (within my Google Form) and send an email when the user clicks on submit button.
Is it possible do it?
note: I don't want to collect the email address of who's filling the form.. I want just collect the email typed on field and send an email.
You won't be able to send the user an email if their email doesn't show up on a Spreadsheet. You're going to have to collect some data in this case, otherwise you won't be able to send them an email.
Use MailApp from gScript to send an email. Pretty simple to do with an onSubmit function.

Is it possible to have a google form confirmation message that displays part of the response data?

I am setting up a google form for an upcoming auction. As bidders arrive at the auction, we will have them fill out a basic google form (i.e. name, address, ID) and a a 'Bidder ID' is auto generated based on the row number in the response spreadsheet.
What I would like to happen is once the form is submitted, the confirmation message includes their 'Bidder ID'. The spreadsheet is setup to put the Bidder ID in Column J. Is this possible at all?
Please let me know if more information is required.
Many thanks.
Ben
No it's not possible. There is no way to add dynamic data to the custom confirmation message after submitting a Google Form. You can change the message in the the confirmation page, but you can't retrieve and concatenate anything into that confirmation message.
You would need to convert everything to a stand alone HTML App for something like that.