dazzdave
(new user )
Sat Feb 05 2005 03:37 PM
Contact Me Form

The layout and structure of my website is now complete -now all that is needed is the content, I am having trouble creating a contact form, I am a beginner to web design, but basically what I want is the following:

Name field = Text Box
Email Address field = Text Box
Comments field = Textarea
Submit Button = Button

And I would like a dialog box to come up if they havent entered their name, email address and comments saying what they need to enter, and when they click on the submit button, ll of the information gets sent to the email address I specify.

Thanks, hope you can help.


Nanook
(regular)
Sat Feb 05 2005 04:20 PM
Re: Contact Me Form

It wont let me put the whole code here so I put it on the web at
www.bains007.co.uk/help/FORM.html

you place the first code where you want the form, if you want to use php change it to
action="pagename.php" otherwise change the email to your email address

you can see how it will look here:
www.bains007.co.uk/help/FORM1.html

Edited by nanook on 05/02/2005 16:34 (server time).



dazzdave
(new user )
Sat Feb 05 2005 04:39 PM
Re: Contact Me Form

I copied the link into my browsre but the page says cannot find server!


Nanook
(regular)
Sat Feb 05 2005 04:48 PM
Re: Contact Me Form

My appologies
http://tinyurl.com/4xyb5 -- to see the code
http://tinyurl.com/6ssnx -- to see the form (which will not actually send btw)


dazzdave
(new user )
Sat Feb 05 2005 05:12 PM
Re: Contact Me Form

thanks really helped but one more questioan again sorry, if I change it to submit.php because I dont want the form to be emailed through an email program, how does the form know where to email the from to, could you please tell me what I do if I change it to submit.php thanks
lol?!


Nanook
(regular)
Sat Feb 05 2005 05:24 PM
Re: Contact Me Form

If you have PHP on your server your basic PHP page will need code like this
http://gregbains.pwp.blueyonder.co.uk/help/FORM3.html

You can see this code in action if you go to
www.bains007.co.uk and click contact (at the bottom of the page), you will see the form with validation and then it gets sent to the PHP file which takes that information and sends it to my email address and the email of the person who sent it. Try it out!

If you use my site to try it out you can get a better idea of how it works


Edited by nanook on 05/02/2005 17:25 (server time).



Contact Us | Privacy statement Main website
Hitwise Top 10 Award Winner - Jan-Mar 2005

About us | Contact us | Link to us | Terms & Conditions | Privacy Policy
© Copyright IPC Media Limited, All rights reserved