Alliedassault

Alliedassault (alliedassault.us/index.php)
-   Offtopic (alliedassault.us/forumdisplay.php?f=13)
-   -   html question (alliedassault.us/showthread.php?t=16934)

cameltoe 01-12-2003 10:45 PM

html question
 
whats the html code to make a form for ppl to fill out and when they click a send button it sends it to your email.. it would be helpful if someone could tell me thx.. or if someone could link a site that has that option it would be nice

Old Reliable 01-12-2003 11:31 PM

http://www.boogiejack.com

Wiseblood 01-13-2003 01:04 AM

Hey, cool site.
Thanx.

cameltoe 01-13-2003 01:16 AM

tight site but it doesnt have exactly what i need
i was wanting to do something like they did [url=http://rfss.net:8080/join_us.htm:e257a]HERE[/url:e257a], i know how to do all the text boxes and such but how do i make the submit button send it to my email or whatever

Bleuachdu 01-13-2003 03:16 AM

Quote:

Originally Posted by cameltoe
tight site but it doesnt have exactly what i need
i was wanting to do something like they did [url=http://rfss.net:8080/join_us.htm:2315c]HERE[/url:2315c], i know how to do all the text boxes and such but how do i make the submit button send it to my email or whatever

Thats CGI/Perl. Learn to program it.

Star85 01-13-2003 06:04 AM

Try http://www.htmlgoodies.com

Star85 01-13-2003 06:05 AM

Not sure if they have what you need but just a quick reference to a lot of HTML.

Bazooka_Joe 01-13-2003 11:25 AM

You first need an email relay server. You can use this one, this is from http://www.clanpages.com:

[code:1a437]<form action="http://cgi.clanpages.com/formmail/formmail.asp" method="POST">[/code:1a437]

This is the email address that the form will go to:

[code:1a437]<input type="HIDDEN" name="formEMAIL" value="fogbazookajoe@aol.com">
[/code:1a437]

If you want to CC the message to someone else, use the CC field:

<input type="HIDDEN" name="formCC" value="CC@ADDRESS.COM">

You will need a redirect page to let the person know that their email was sent correctly. This will load after the person presses the "Submit" button:

[code:1a437]<input type="HIDDEN" name="formREDIRECT" value="http://mohaa.xgshosting.com/joe/confirm.htm">[/code:1a437]

The subject of the email message you will get from the form:

[code:1a437]<input type="HIDDEN" name="formSUBJECT" value="New Map Request for AA.com Server">[/code:1a437]


That's the form setup. Now, you have to add the fields. There are numerous ones (buttons, checkmark boxes, text boxes, drop-downs). Tell me which ones you want to use, and I'll post how to use em.

cameltoe 01-14-2003 12:08 AM

mostly i want the person to type in the stuff but i want one drop down box where they choose a weapon or something

Bazooka_Joe 01-14-2003 10:31 AM

Ok here's a few:

This one is a form text box. HEIGHT = the height of the cell it is in, ALIGN = Where in the cell it's aligned, IMPUT NAME = What the feild will come back looking like on your email message (This MUST BE ONE WORD, NO CHARACTERS EXCEPT LETTERS & NUMBERS), SIZE = Length of the box:

[code:e4ffc]<td height="22" align="center"><input name="Name" size="20"></td>
</tr>[/code:e4ffc]

Here's a drop-down box. HEIGHT & ALIGN = Height/alignment of cell, not the box, SELECT NAME = Name in Email that will show (remember, one word), OPTION SELECTED = The Option that is shown by default:

[code:e4ffc]<td height="22" align="center"><select name="TypeOfMap">
<option selected>TDM</option>
<option>OBJ</option>
<option>Both</option>
</select></td>[/code:e4ffc]

And this is a normal text box. HEIGHT & ALIGN = height & alignment of the cell, not the text box, TEXTAREA ROWS = how many rows tall the box is, NAME = name in email message, COLS = how many characters can be displayed on a single line:

[code:e4ffc]<td height="36" align="center">



<textarea rows="2" name="MapURL" cols="20"></textarea></p>
</td>[/code:e4ffc]

Here's a page I made using the three.

[url:e4ffc]http://mohaa.xgshosting.com/joe/maprequest.htm[/url:e4ffc]


All times are GMT -6. The time now is 07:31 AM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.