Avatar of siamesefish
siamesefish

asked on 

HELP PLEASE: HTML & <FORM>

Hello Everyone

I am currently doing a simple site and need to include a simple form that people can submit some simple contact details.

This is my form:

------------------------------------------------------------------------------------------------------------
<FORM METHOD="POST" ACTION="mailto:siamesefish@hotmail.com">
          Name:
            <INPUT TYPE="text" NAME="name" SIZE="30">
          Organisation:
            <INPUT TYPE="text" NAME="organisation" SIZE="30">
          E-mail:
            <INPUT TYPE="text" NAME="email" SIZE="30">
          Contact Number:
            <INPUT TYPE="text" NAME="phone" SIZE="30">
          Comments:
            <TEXTAREA NAME="comment" ROWS=6 COLS=40></TEXTAREA>
            <INPUT TYPE="submit">
            <INPUT TYPE="reset">
</FORM>
------------------------------------------------------------------------------------------------------------

Here is my problem. The form managed to submit and send to my inbox but... All the details come in a POSTDATA.ATT file attachment to me. Obviously I didnt want this and I have no idea what and how to read ATT files. I was hoping the submitted details would have come in simple displayed text format. : (

I searched online and it says that "ACTION="mailto:..." is not supported by IE any more.

If anyone would how I could do this simple mailto form to get it to catupure and submit the details to my inbox, I would be a BIG BIG help. Its quite urgent too. Im using dreamweaver and am not really that good of a coder.

A solution to this would be of great help to me. Thanks!

Regards
EJQ
Web Development

Avatar of undefined
Last Comment
dukestaTAI
Avatar of nltech
nltech

what kind of server scripting is available? perl, php, asp?
Avatar of siamesefish
siamesefish

ASKER

I think all of the above. But I can't really test any of them cause im using XP home Edition and I don't have that testing support...: ( I was hoping for a simple way.
SOLUTION
Avatar of KennyTM
KennyTM

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of HairyMike
HairyMike

Hi,

You know you can download free form-to-mail scripts written in cgi or asp?  There are even some services where these scripts are hosted (see www.formmail.com), although I believe they 'thank you' pages - that are displayed when the form is submitted would be plastered with adverts.

The best solution for you is if you can run these scripts on your own server.
Avatar of siamesefish
siamesefish

ASKER

ah that enctype works
but only if the user has outlook and a set up outlook account.

is there a way to do it without needing outlook or other mail support?

(thanks : )
Avatar of HairyMike
HairyMike

SOLUTION
Avatar of nltech
nltech

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of siamesefish
siamesefish

ASKER

I used the one from http://www.tele-pro.co.uk/scripts/contact_form/ to generate the form.

they created a contact.htm
and a contact.asp

the last step, how do i get them to work together?
Pardon if i seem like a total noob.

When i tried I get this error message.
"The requested method POST is not allowed for the URL /contact.asp."

I created 2 pages. one with the form and a blank one with just the asp coding. Is that correct?
ASKER CERTIFIED SOLUTION
Avatar of dukestaTAI
dukestaTAI

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Web Development
Web Development

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

77K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo