Creating web forms

This is a discussion on "Creating web forms" within the Web Page Design section. This forum, and the thread "Creating web forms are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 5th, 2007, 20:27
Junior Member
Join Date: Aug 2006
Location: Connecticut
Age: 28
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Creating web forms

Hello all, I'm using dreamweaver 8, and have setup my site. But I want to create a form for visitors to leave contact information and that be sent to me via email. It seems a bit involved, and I found some online sites that will generate forms, but I can't seem to find one that won't leave their company info on the form. Please help with some instructions or suggestions.
Reply With Quote

  #2 (permalink)  
Old Jan 5th, 2007, 20:59
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,993
Blog Entries: 1
Thanks: 0
Thanked 32 Times in 32 Posts
Re: Creating web forms

PHP mail() would be your best bet assuming your host supports PHP which it should if you pay for it, alternately you could use CGI-Email etc.. A bit more info would help.
__________________
I hate IE 6. Just sayin....
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #3 (permalink)  
Old Jan 5th, 2007, 22:02
Reputable Member
Join Date: May 2006
Location: Northampton, UK
Posts: 399
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

I think im too kind sometimes

Try this link :: http://www.phpfreaks.com/tutorials/130/0.php

Its a complete tutorial, you will probably find that you diverge from it a little as you work through it... thats good, better that you figure things out for yourself than just try and get by on the code the auther provides.

Hope it helps.
Reply With Quote
  #4 (permalink)  
Old Jan 6th, 2007, 05:13
Junior Member
Join Date: Aug 2006
Location: Connecticut
Age: 28
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

Thanks for the link. And I appreciate the advice!
Reply With Quote
  #5 (permalink)  
Old Jan 6th, 2007, 05:39
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

Here is a good form that I did for a company...feel free to try it out...you might find you like it better, as it has auto-responders and such. If you like it, I will help you get it set up on your site.

http://support.jbwebsitesolutions.com/Contact/
Reply With Quote
  #6 (permalink)  
Old Jan 6th, 2007, 06:16
Junior Member
Join Date: Aug 2006
Location: Connecticut
Age: 28
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

Hey Jacob, I truly appreciate the offer. I will try myself this weekend and see if I can set it up. If not, I will take your offer and try to use and modify yours. I thank you!
Reply With Quote
  #7 (permalink)  
Old Jan 6th, 2007, 18:04
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

Here's one I used to use

http://www.joe2torials.com/view_tutorial.php?view=68

It has validation and everything.
Reply With Quote
  #8 (permalink)  
Old Jan 10th, 2007, 05:58
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

Is any other way to create forms or php would be the best? Is php easyer to learn than javascript?
Reply With Quote
  #9 (permalink)  
Old Jan 10th, 2007, 11:56
Junior Member
Join Date: Aug 2006
Location: Connecticut
Age: 28
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

Now since my last post I've found a site that you can drag and drop the lines you want for a form, then copy and paste the code into your site. www.jotform.com Its really easy and fast, and there are so many options including "uploading files" that it just seems easier then trying to piece together codes. I know its cheating... but the site doesn't even put any of their text on your forms.
Reply With Quote
  #10 (permalink)  
Old Jan 10th, 2007, 12:10
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

That site is quite nifty but you still have the issue that if it everything doesn't work as you expected - then what do you do?

I would be interested to see an example of the generated code and whether it allows for 'sticky data', mandatory fields, etc.

Chubbs:
There are many similarities between PHP and JavaScript and learning one will help with the other. I wouldn't say that either one is the easier to learn. With these languages, you don't try and learn everything they are capable of. You learn the basics and then add to your knowledge in order to achieve a particular task.
Reply With Quote
  #11 (permalink)  
Old Jan 10th, 2007, 12:13
Junior Member
Join Date: Aug 2006
Location: Connecticut
Age: 28
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

I've pasted below the source code for one of the forms I've created. (its a bit long...)

<style> body,td,legend { background: white ; color: blue; font-family: Verdana; font-size: 14px; } span.required{ font-size: 13px; color: red; } </style><form action="http://www.jotform.com/submit/763809418" method="POST"><table width="520" cellpadding="5" cellspacing="0"> <tr valign="bottom"> <td width="150" valign="bottom" > <label for="q0">First Name <span class="required">*</span></label> </td> <td valign="bottom"> <input type="text" size="20" name="q0_FirstName" id="q0"> </td> </tr></table><table width="520" cellpadding="5" cellspacing="0"> <tr valign="bottom"> <td width="150" valign="bottom" > <label for="q1">Last Name <span class="required">*</span></label> </td> <td valign="bottom"> <input type="text" size="20" name="q1_LastName" id="q1"> </td> </tr></table><table width="520" cellpadding="5" cellspacing="0"> <tr valign="bottom"> <td width="150" valign="bottom" > <label for="q2">Address <span class="required">*</span></label> </td> <td valign="bottom"> <input type="text" size="20" name="q2_Address" id="q2"> </td> </tr></table><table width="520" cellpadding="5" cellspacing="0"> <tr valign="bottom"> <td width="150" valign="bottom" > <label for="q8">Address2</label> </td> <td valign="bottom"> <input type="text" size="20" name="q8_Address2" id="q8"> </td> </tr></table><table width="520" cellpadding="5" cellspacing="0"> <tr valign="bottom"> <td width="150" valign="bottom" > <label for="q3">City <span class="required">*</span></label> </td> <td valign="bottom"> <input type="text" size="20" name="q3_City" id="q3"> </td> </tr></table><table width="520" cellpadding="5" cellspacing="0"> <tr valign="bottom"> <td width="150" valign="bottom" > <label for="q4">State <span class="required">*</span></label> </td> <td valign="bottom"> <select name="q4_State" id="q4"> <option></option> <option>AL</option> <option>AK</option> <option>AR</option> <option>AZ</option> <option>CA</option> <option>CO</option> <option>CT</option> <option>DC</option> <option>DE</option> <option>FL</option> <option>GA</option> <option>HI</option> <option>ID</option> <option>IL</option> <option>IN</option> <option>IA</option> <option>KS</option> <option>KY</option> <option>LA</option> <option>ME</option> <option>MD</option> <option>MA</option> <option>MI</option> <option>MN</option> <option>MS</option> <option>MO</option> <option>MT</option> <option>NE</option> <option>NV</option> <option>NH</option> <option>NJ</option> <option>NM</option> <option>NY</option> <option>NC</option> <option>ND</option> <option>OH</option> <option>OK</option> <option>OR</option> <option>PA</option> <option>RI</option> <option>SC</option> <option>SD</option> <option>TN</option> <option>TX</option> <option>UT</option> <option>VT</option> <option>VA</option> <option>WA</option> <option>WV</option> <option>WI</option> <option>WY</option> </select> </td> </tr></table><table width="520" cellpadding="5" cellspacing="0"> <tr valign="bottom"> <td width="150" valign="bottom" > <label for="q10">Phone</label> </td> <td valign="bottom"> <input type="text" size="20" name="q10_Phone" id="q10"> </td> </tr></table><table width="520" cellpadding="5" cellspacing="0"> <tr valign="bottom"> <td width="150" valign="bottom" > <label for="q9">Email <span class="required">*</span></label> </td> <td valign="bottom"> <input type="text" size="20" name="q9_Email" id="q9"> </td> </tr></table><table width="520" cellpadding="5" cellspacing="0"> <tr valign="bottom"> <td width="150" valign="top" > <label for="q11">Comments</label> </td> <td valign="bottom"> <textarea wrap="soft" cols="30" rows="3" name="q11_Comments" id="q11"></textarea> </td> </tr></table><table width="520" cellpadding="5" cellspacing="0"> <tr valign="bottom"> <td width="150" valign="bottom" > </td> <td valign="bottom"> <input type="submit" name="q7_" value="Submit"> </td> </tr></table></form>
Reply With Quote
  #12 (permalink)  
Old Jan 10th, 2007, 12:40
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

Thnx Geoff. And what else u can use to create forms?
Reply With Quote
  #13 (permalink)  
Old Jan 10th, 2007, 20:24
Reputable Member
Join Date: May 2006
Location: Northampton, UK
Posts: 399
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

Creating forms is honestly so ridiculously easy i wouldnt bother using that site .... really... the hard bit is the php script that sends the info.
Reply With Quote
  #14 (permalink)  
Old Jan 10th, 2007, 20:57
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

The code that site produces is very basic and doesn't even come close to providing what I would consider acceptable form code and processing script.

Learn to do it by hand.
Reply With Quote
  #15 (permalink)  
Old Jan 10th, 2007, 21:00
Reputable Member
Join Date: May 2006
Location: Northampton, UK
Posts: 399
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Creating web forms

plus it looks awfull ... code should be sexy
Reply With Quote
Reply

Tags
web forms

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forms nzamusangamungu Web Page Design 9 Nov 17th, 2006 10:31
Forms nzamusangamungu Web Page Design 5 Nov 13th, 2006 13:10
Forms Q joshcxa Web Page Design 2 Jun 21st, 2005 22:52
Help with forms ... Drysdale Web Page Design 3 Jun 9th, 2005 08:34


All times are GMT. The time now is 03:11.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43