Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 03-28-2006, 02:13 PM website forms
hobsdv's Avatar
Extreme Talker

Posts: 168
Trades: 0
hi i need an email form for my site that has required fields and when the customer submits i get the email and they are taken to another page can anybody tell me how to go about this html form would be ideal
hobsdv is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-28-2006, 02:16 PM Re: website forms
Extreme Talker

Posts: 170
Location: Canada
Trades: 0
Well, a good form set-up would be something like this:

HTML Code:
<form action="#" method="post"><fieldset>
	<legend>Fill out these forms to send an e-mail to us:</legend>

	<label for="mail">Your E-mail Address:</label>
		<input type="text" name="mail" id="mail" maxlength="48" size="50" />
	<label for="subject">Subject:</label>
		<input type="text" name="subject" id="Subject" maxlength="48" size="50" />
	<label for="letter">Message:</label>
		<input type="text" name="letter" id="letter" maxlength="48" rows="10" />
<input type="submit" value="Send E-mail" style="display: inline;" /><input type="reset" style="display: inline;">
</fieldset></form>
(this is the form I'm incorporating into my web-page anyway)

However without some kind of PHP handler (or other server side code) this form is useless.
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE

Last edited by collyer_1; 03-28-2006 at 02:18 PM..
collyer_1 is offline
Reply With Quote
View Public Profile Visit collyer_1's homepage!
 
Old 03-28-2006, 05:35 PM Re: website forms
ProWebDesigner's Avatar
Average Talker

Posts: 16
Trades: 0
You can also use cgi for forms, similar to my form below.

http://www.webdesignformoney.com/con...webmaster.html
ProWebDesigner is offline
Reply With Quote
View Public Profile
 
Old 03-28-2006, 06:54 PM Re: website forms
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
You can use a mailto link as the forms action:

HTML Code:
<form action="mailto:you@yoursite.com" method="POST" />
form stuff here
</form>
However this leaves your address visible to spam harvesters, and you would have to use some serverside scripting to make the fields required (or some javascript which people could work around if they wanted to )
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Reply     « Reply to website forms
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13772 seconds with 12 queries