Form problems......

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


 Subscribe in a reader

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

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jun 2nd, 2006, 13:23
Junior Member
Join Date: Jun 2006
Location: Derbyshire
Age: 29
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Form problems......


Hello

I have just created a website and am wanting to put a form on there so people can submit queries to me. I have created the form and when submitted I get an e-mail but no matter what details I put in the form it just comes through blank.

Can anyone help me? Below is my code.....


<fieldset>
<legend>Name:</legend>
<legend>
<input type="text" name="textfield">
</legend>
</fieldset>
<fieldset>
<legend>Company:</legend>
<legend>
<input type="text" name="textfield2">
</legend>
</fieldset>

<fieldset>
<legend>Contact number:</legend>
<legend>
<input type="text" name="textfield2">
</legend>
</fieldset>

<fieldset>
<legend>E-mail:</legend>
<legend>
<input type="text" name="textfield2">
</legend>
</fieldset>

<fieldset>
<legend>Query:</legend>
<legend>
<textarea name="textarea"></textarea>
</legend>
</p>
<form action="http://www.it-solutions.uk.net/formtoe-mail/FormMail.cgi" method="post">
<input type="hidden" name="recipient" value="service@it-solutions.uk.net">
<input type="hidden" name="subject" value="Website query">
<input type="hidden" name="redirect" value="http://www.it-solutions.uk.net/thankyou.html">

<input value="Submit Query" type="submit">
</form>



All help creatly appreciated!

Kind regards

Sjc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jun 2nd, 2006, 14:24
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

Have you set up a file to process the form and mail you the contents? If not you are not actually transfering any of the fields you've named and your email will arrive blank.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jun 2nd, 2006, 14:29
Junior Member
Join Date: Jun 2006
Location: Derbyshire
Age: 29
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

Thanks for the reply mate.

Where would this file be? Upoaded into the ftp?

I am hosted with heart internet and I used thier automatic thingy to set it up.......

If you tell me what to look for I will check.....

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jun 2nd, 2006, 14:37
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

I am not familiar enough with a hosting/internet companies CGI network. The best thing to do is have a form which has its own processor. You could do a search for a simple contact form and use one that isn't provided.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jun 2nd, 2006, 15:39
Junior Member
Join Date: Jun 2006
Location: Derbyshire
Age: 29
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

Without being too much of a pain that still means nothing to me.....

I have never tried this before so forms with own processors means zilch!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jun 2nd, 2006, 15:56
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

No problem once I get off work, I'll be able to whip up a few things for you. If you dont mind waiting till this evening?
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jun 2nd, 2006, 15:59
Junior Member
Join Date: Jun 2006
Location: Derbyshire
Age: 29
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

No course not mate!

Your a star!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jun 2nd, 2006, 16:16
Junior Member
Join Date: Jun 2006
Location: Derbyshire
Age: 29
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

Halt the solutions!

I solved the problem, because I desgned it ina weird way I had the text field above the instructions (see code above) I swapped them round and its working great!!!!

Thanks again for your replies mate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Jun 2nd, 2006, 16:29
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

No problem.. Let me know if you do want to get away from the CGI form.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Jun 2nd, 2006, 17:26
Junior Member
Join Date: Jun 2006
Location: Derbyshire
Age: 29
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

I woudl always like another option. I have only tried this for the first time today and its worked quite well......

If there are better options I woudl be willing to have a go though!

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Jun 2nd, 2006, 17:53
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

I'll work something up and post it here for you and others tonight.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Jun 5th, 2006, 14:46
minute44's Avatar
Most Reputable Member

SuperMember
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,351
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: Form problems......

Quote:
Originally Posted by jpmitchell
I'll work something up and post it here for you and others tonight.
If you could whip something up for me along those lines That'd be great, My boss has just been asking me about getting some forms on our intranet. I don't have much experience with them so any help would be apreciated.

Cheers.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old Jun 5th, 2006, 14:50
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

No sweat - I'll post it this evening (6-5), as I have it all ready to go when I get home. I'll have the files zipped up and attached to if it'll let me.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old Jun 6th, 2006, 02:30
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

As promised here is the zip attachment with a sample contact form. I also created an online demo for it to.
Incase you can't see the attachment to the post, visit: http://www.focusedtutorials.com/2006...-contact-form/ to download it.
Attached Files
File Type: zip contact.zip (2.3 KB, 33 views)
Last Blog Entry: Whats in a name? (Feb 20th, 2008)

Last edited by jpmitchell; Jun 6th, 2006 at 03:08.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
Old Jun 6th, 2006, 13:34
minute44's Avatar
Most Reputable Member

SuperMember
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,351
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: Form problems......

Oh right, PHP forms...

Could be aproblem as PHP isn't running on our server atm... lol

Thanks for the help though man.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #16  
Old Jun 6th, 2006, 13:43
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

Do you have server-side scripting?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #17  
Old Jun 6th, 2006, 13:55
Junior Member
Join Date: Jun 2006
Location: Derbyshire
Age: 29
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

Thanks a lot mate - I currently know nothing about php but am starting to learn......

Works wonders aswell!

Diamond

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #18  
Old Jun 6th, 2006, 13:58
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form problems......

No problem.

@minute44 - what is running, I could whip up something for you that may work. (would asp work, as I have one for that too).
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #19  
Old Jun 6th, 2006, 14:24
minute44's Avatar
Most Reputable Member

SuperMember
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,351
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: Form problems......

Quote:
Originally Posted by jpmitchell
No problem.

@minute44 - what is running, I could whip up something for you that may work. (would asp work, as I have one for that too).
Cheers for the offer, It's just being hosted on IIS at the moment, there are plans to move it over to apache with PHP running so Soon enough the forms you've already done should be ok.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
form, problems

Thread Tools