How to make forms in HTML

paintballdude13's picture

They have: 42 posts

Joined: Feb 2003

I need to make a forum where there are multiple data fields that the user can fill out and then have it submitted to a email account. I'm using Sothink HTML editor aswell, but I can use strait HTML if someone can give me a link to a place that shows how to use it. Thanks

paintballdude13's picture

They have: 42 posts

Joined: Feb 2003

Ok I kinda figured out from this other site alittle bit how to do it, but how would I make a bigger scrolling box that you could type a couple paragraphs in? Kinda like the reply box on here.

paintballdude13's picture

They have: 42 posts

Joined: Feb 2003

Ok I also tried using a sample little forum thingy I got from one website and I changed it so it was adressed to me, and when I submitted it, it didnt work.

Here is the code:

[email protected]" method="post">

First name:

Last name:

email:

Male
Female

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

is for larger form fields...

Busy's picture

He has: 6,151 posts

Joined: May 2001

you might want to add enctype="text/plain" to your form tag

He has: 1,380 posts

Joined: Feb 2002

if you want to add pre-selected text in the large textarea...

<textarea>this is what i want the user to see...</textarea>
'

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Quote: Originally posted by paintballdude13
I need to make a forum where there are multiple data fields that the user can fill out and then have it submitted to a email account. I'm using Sothink HTML editor aswell, but I can use strait HTML if someone can give me a link to a place that shows how to use it. Thanks

Do you want a forum or a FORM? They are both very different things Confused

paintballdude13's picture

They have: 42 posts

Joined: Feb 2003

Umm not sure what the difference is. I want something that people can fill in the boxes and then have like one submit button for all of them and have the data they entered email to me. For example like when your singing up to use the messages boards, you gotta like fill in the blank. Thats what I want.

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

If the information is just to come to you by email then it is a form. A forum is like TWF where information is typed into the box and then automatically displayed on the site.

Julia - if life was meant to be easy Michael Angelo would have painted the floor....

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

I think it was just a typo, given his example. Also, forums use forms to get user input. Wink

paintballdude13's picture

They have: 42 posts

Joined: Feb 2003

Ok I want to make a Form, does anyone have like the html code I need, that I can just change the questions it ask and the email it's sent to. It also needs to be so thats theres just one submit box for like 5+ entrys. Thanks

Busy's picture

He has: 6,151 posts

Joined: May 2001

what you had before would work with a couple of changes:

first name:

last name:

email:

male
female

been a while since I did email form, its not tested but should work

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Just a note - changed the spelling in the thread title so as to avoid any confusion.

They have: 2 posts

Joined: Feb 2003

Hello, I'm new to the forum, but I have a question regarding comment forms on websites.

I've read everything in the thread so far, but I came up to a problem.

When I tested my form, and clicked submit, I first got the Submittal via Email warning, so I clicked Ok. Then it opened up Outlook Express.

How do you make it so that it'll just send the submitted form without opening Outlook Express?

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

You will need to use a formmail script. Check with your hosting company to see if they offer one or you'll have to download one, amend it and upload it to your cgi-bin (unless you are going to use php or asp).

Julia - if life was meant to be easy Michael Angelo would have painted the floor....

They have: 2 posts

Joined: Feb 2003

Thank you.

paintballdude13's picture

They have: 42 posts

Joined: Feb 2003

Webmistress I'm going to be hosting this site on Geocities so I dont know exactly what I'm gonna do. I'm probaly going to be starting on it laster tonight, after my mom gets me all the stuff she wants me to put on it. I'll look back to see exactly what I gotta do. I just want to have it like automatically submit it to a email account on hotmail, like not have them have to open up like Outlook and stuff.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Normally email forms DON'T open your email application, then just send the form via email? So the resulting email you get should be like this:

field+value+field1+value1+field2+value2 et cetera.

But it shouldn't send the information through the users email application. It should use the email server for the site. Make sure you set the method on the form to "post".

paintballdude13's picture

They have: 42 posts

Joined: Feb 2003

Ok well its still not working, this is the main thing I need for the whole site is forms and I dont know what I'm gonna do if this doesnt start working. This is the coding I used, the site is hosted on Geocities and I'm trying to send it to my Hotmail Email account

first name:

last name:

email:

male
female

Put the space in on the mail part cause it was making it a smiley face on here.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Geocities has no form handler?

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

http://webdesign.about.com/library/weekly/aa092302a.htm

well look at that, that's how it's supposed to work? Man. It's been a zillion years since I tried anything like this, sorry.

paintballdude13's picture

They have: 42 posts

Joined: Feb 2003

Thanks for the help I used Freedback and it works, thanks for the help guys. I know if I have anymore help I know where to turn.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.