MARCELO Posted February 27, 2018 Share Posted February 27, 2018 I was creating this form, so you can tell someone about one s website. What do i have to do in order to this form work the way i want to, and the one who ll receive the message will not be me, but the FRIEND´S name in the email indicated https://www.w3schools.com/code/tryit.asp?filename=FOVANPDLSPC0 THANKS. Link to comment Share on other sites More sharing options...
Ingolme Posted February 27, 2018 Share Posted February 27, 2018 You need to create a program on the server-side that will take the form data and send an e-mail. Here's the PHP tutorial for handling forms: https://www.w3schools.com/php/php_forms.asp Here's the PHP tutorial for sending an e-mail: https://www.w3schools.com/php/func_mail_mail.asp You have unnecessary Javascript on that page. Remove all of the content in the <script> tags and use <input type="submit"> instead of "button". The submit button will submit the form for you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now