How to make submit button send information?

August 8th, 2016

I’m trying to make a html code so when the person clicks submit the information is sent to a file called actions.asp
Here is my code :  
<form name="input" action="file:///C:/Users/Lamaine/Desktop/actions.asp" method="get">
First name: <input type="text" type="Firstname"/><br/>
Last name: <input type="text type="Lastname" /><br />
<input type="submit" value="submit"/>
</form>

Now when i click submit it just goes to the page actions.asp and it doesnt recieve the information. How do i make it recieve and save the information?

Answer #1
actions.asp needs to be hosted on a web server that supports ASP (eg IIS). simply having the file on disk will not work.

 

| Sitemap |