Hi Team,
I have created and published a website: www.joyservice.in
I’ve created a form in it which can be accessed from here: https://www.joyservice.in/service-provider-registration
I have associated the database with all the fields.
There are few things that are not working as expected. Customer Care support executive has assured that he will be highlighting those to the developers to get those sorted out.
There is one thing which I want to know. After filling the entire form, once the user clicks on “Register” at the bottom, I want the user to receive an email. And also, as an admin I want to receive an email with all the information that the user has filled. How do I accomplish this please ?
Thanks.
Hi,
Please check here how to send email in a form submission. Please let me know if you have more questions
Hi Eli. It worked. I also referred the youtube video created by one lady:
https://www.youtube.com/watch?v=bPd7o7hUfGk
however, there is one more doubt that I have right now.
Once the user goes to my website: www.joyservice.in , and he clicks on “Service Provider Registration” at the top, and then if he fills all the requested information in the form and clicks on “Register” at the bottom, I get an email with all the information that he has filled on my email address support@joyservice.in . But I also want him to receive an email with a specific format. How do I accomplish this ?
Thanks,
Rajan Shah.
Hi Rajan,
You can simply call the function sendEmailWithRecipient as described in the article.
On the clickOnSubmit event, when user clicks on register button, you can call the two sendEmail functions: The first with the content you would like to receive, and the second with the content you’d like to send the recipient.
It will be something like that:
function onSubmitButtonClick() {
...
sendEmail(subject, body);
sendEmailWithRecipient(subject, body, recipientEmail);
}
Good luck