Associate
- Joined
- 1 Jan 2007
- Posts
- 355
Hi everybody,
Please bare in mind I am new to coding & is something I am currently studying but I have hit a slight problem whilst designing an online form for an intranet site.
I have designed & layed out the form the way I want it to look which is pretty straight forward.
However, what I want to achieve is when somebody completes the online form & hits the submit button I then want the form data to be sent to an email address of which I have included the following coding:
<form method="post" action="mailto:[email protected]" enctype="text/plain">
The email address is obviously a made up one for example purposes.
Ok. Now the problem I have is that when the form is completed & is submitted the browser then tries to open another window of which then comes up with the syntax "Not connected to internet" because it's trying to find a page called "[email protected]".
How do I stop it trying to open a new window?
I just want the user to click on submit of which a message briefly appears saying "Form submitted" then returning back to the form giving the user the option to clear down & complete a new one.
Any advice would be appreciated.
Thanks.
Please bare in mind I am new to coding & is something I am currently studying but I have hit a slight problem whilst designing an online form for an intranet site.
I have designed & layed out the form the way I want it to look which is pretty straight forward.
However, what I want to achieve is when somebody completes the online form & hits the submit button I then want the form data to be sent to an email address of which I have included the following coding:
<form method="post" action="mailto:[email protected]" enctype="text/plain">
The email address is obviously a made up one for example purposes.
Ok. Now the problem I have is that when the form is completed & is submitted the browser then tries to open another window of which then comes up with the syntax "Not connected to internet" because it's trying to find a page called "[email protected]".
How do I stop it trying to open a new window?
I just want the user to click on submit of which a message briefly appears saying "Form submitted" then returning back to the form giving the user the option to clear down & complete a new one.
Any advice would be appreciated.
Thanks.