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.
|
|
|
|
|
![]() |
||
Form problems......
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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 |
|
|
|
#2
|
|||
|
|||
|
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)
|
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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)
|
|
#5
|
|||
|
|||
|
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! |
|
#6
|
|||
|
|||
|
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)
|
|
#7
|
|||
|
|||
|
Re: Form problems......
No course not mate!
Your a star! |
|
#8
|
|||
|
|||
|
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 |
|
#9
|
|||
|
|||
|
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)
|
|
#10
|
|||
|
|||
|
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 |
|
#11
|
|||
|
|||
|
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)
|
|
#12
|
||||
|
||||
|
Re: Form problems......
Quote:
Cheers.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
#13
|
|||
|
|||
|
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)
|
|
#14
|
|||
|
|||
|
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.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Last edited by jpmitchell; Jun 6th, 2006 at 03:08. |
|
#15
|
||||
|
||||
|
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)
|
|
#16
|
|||
|
|||
|
Re: Form problems......
Do you have server-side scripting?
|
|
#17
|
|||
|
|||
|
Re: Form problems......
Thanks a lot mate - I currently know nothing about php but am starting to learn......
Works wonders aswell! Diamond |
|
#18
|
|||
|
|||
|
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)
|
|
#19
|
||||
|
||||
|
Re: Form problems......
Quote:
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
![]() |
| Tags |
| form, problems |
| Thread Tools | |