Contact Us Form - Help Please

This is a discussion on "Contact Us Form - Help Please" within the JavaScript Forum section. This forum, and the thread "Contact Us Form - Help Please are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Sep 10th, 2007, 01:25
New Member
Join Date: Sep 2007
Location: Sydney
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Contact Us Form - Help Please

Hi Everyone!

I'm new here and was hoping you wouldnt mind giving me some help?

Firstly I'm Rachelle and live in Sydney Now onto Business!

I am in need of a Contact Us Validation Form - I've been using getElementbyID & if else statements but I'm coming unstuck a bit

These are the requirements for the form:

First Name
Surname
Address
Postcode (min 4 max 4 digits)
Nature of Enquiry (drop down menu - with default 'general')
Telephone number (max 10 digits)
Date you would like us to contact you (in the form dd/mm/yyyy)

I've attached what I've done so far - its not pretty though sorry - please be gentle with me - I'm learning!

Thanks in advance

Rachelle
Attached Files
File Type: html contact for forum.html (3.5 KB, 16 views)
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 Sep 10th, 2007, 02:11
Highly Reputable Member
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Contact Us Form - Help Please

It can be done using php. I have some simple validation that checks for empty fields and aslo validation on my registration page that checks to make sure in a number field only numbers are entered.

You could also look at learning CSS to stle your form
Have a look at http://www.sitepoint.com/article/fancy-form-design-css and also http://www.webcredible.co.uk/user-fr...ss-forms.shtml

You need php or some other server side script to process the form which you should be able to get help with in the php forums and als o help with CSS in the css forum.

if you want any server side (php) validation I can help you with that.

You could also look at http://www.ibdhost.com/contact/ becuase there is a contact form there with some form processing
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 Sep 10th, 2007, 04:49
New Member
Join Date: Sep 2007
Location: Sydney
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Contact Us Form - Help Please

Hi

thanks very much for your reply. I'll check those sites out.

I'm really trying to work with Javascript a bit to get my head around it a bit more. I'd like to be able to write my own script rather than copying and pasting all the time but at the moment I'm not having much luck!

Thanks again

Rach
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 Sep 10th, 2007, 11:33
Highly Reputable Member
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Contact Us Form - Help Please

You definitely need to use some CSS to style the forms and make them look pretty as well as usuability and accessibility.

But as to php, I suggested that becuase if you want form validation and the user has JS disabled in their browser, your validation won't work. You could have both, client side and server side
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 Sep 10th, 2007, 11:36
New Member
Join Date: Sep 2007
Location: Sydney
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Contact Us Form - Help Please

Hi again

Thanks for that. Yes I'll be working on the style side of things - just wanted to get my head around the script first.

Take care

Rach
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
contact us javascript, form validation

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
[SOLVED] PHP contact form redirect to same form Posie PHP Forum 14 Jan 29th, 2008 21:28
help with asp contact form? Ella Classic ASP 4 Jan 2nd, 2008 01:45
php contact form geyids PHP Forum 5 Jun 14th, 2007 17:59
what is the best contact form Phixon Web Page Design 10 May 15th, 2007 19:47
Need Quote Form and Contact Form Av8er Flash & Multimedia Forum 5 Oct 30th, 2003 18:14


All times are GMT. The time now is 01:18.


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