What to put in HTML form action link. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What to put in HTML form action link.

Well, I want my form data to reach me. I tried putting my email address in the form action attribute but it didn't work.

12th Feb 2017, 7:03 AM
The Smart Amazing Shaurya
The Smart Amazing Shaurya - avatar
9 Answers
+ 1
I don't have a website. Only a blogger blog
12th Feb 2017, 7:17 AM
The Smart Amazing Shaurya
The Smart Amazing Shaurya - avatar
+ 1
Well, Mr. Jesus I don't know PHP and don't host a website . Can it be emailed or sent to my blog ???
12th Feb 2017, 7:21 AM
The Smart Amazing Shaurya
The Smart Amazing Shaurya - avatar
+ 1
Do I need to host a website for this???
12th Feb 2017, 7:30 AM
The Smart Amazing Shaurya
The Smart Amazing Shaurya - avatar
+ 1
Can I use a normal device for the server
12th Feb 2017, 1:31 PM
The Smart Amazing Shaurya
The Smart Amazing Shaurya - avatar
+ 1
Under some conditions, "you" can send email with setting your email adress on a particular format, at the attribute 'action'... exactly, you can heavy incitate the user to manually send the mail, by prefilling some informations as address to send, subject, and body message and let the web browser ask OS to open mailing app with a mail to send that the user need to manually validate ( and so modify/read )... ... or not :P This is the essential limitation ^^ Check this code for the syntax of the email url prefix: https://code.sololearn.com/W462919Ld2m7/#html
14th Feb 2017, 8:39 AM
visph
visph - avatar
0
You need to put the file/page name of the page your form is submitted to in the action attribute.
12th Feb 2017, 7:15 AM
Varun Moghe
Varun Moghe - avatar
0
the action attribute is for a back-end language for example a php page when you receive the data from the inputs and storage in a data base or do the work that you want to do with them
12th Feb 2017, 7:18 AM
Jesus Guerrero
Jesus Guerrero - avatar
0
You can't send email from html, you need a back-end service like PHP or java,etc. Otherwise it's not possible. As you don't have a website one thing you can do is that you can create a back-end service on a server using free web hosting companies and then link that page in the action attribute in form tag.
12th Feb 2017, 7:26 AM
Varun Moghe
Varun Moghe - avatar
0
You don't need to create a whole website but you need to create a back-end service file on the server and host it.
12th Feb 2017, 7:32 AM
Varun Moghe
Varun Moghe - avatar