+ 1
Can someone help in html form creation?
How to make or send form inputs to email?
5 Respuestas
+ 2
Hi Ikuobase Wisdom Ewaensetin
You could just use a <a href=“mailto:email_address”>Email me</a>
Alternatively you would have to use php
+ 1
Hi Ikuobase Wisdom Ewaensetin
If you want to do a form you will need to use php.
So your form will look like
<form method=“post” action=“phpdoc”>
<input type=“text” name=“UserEmail”/>
…
</form>
php doc:
You’ll want to take the inputs the user submitted and send it to yourself. See example below:
https://www.w3schools.com/php/func_mail_mail.asp
+ 1
a form can also have a 'mailto:email_address' as url in the 'action' attribute ;)
however, 'mailto:email_address' only open a prefilled mail in the user default email client: that means he must send it manually and can modify the content ^^
0
I meant, for instance a user visits my site and fills a form I want the form details sent to my email can it be done?
0
Ollie Q thanks for the response