Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Require Fields in Form
Old 02-13-2007, 06:49 PM Require Fields in Form
Experienced Talker

Posts: 30
Name: Peter
Trades: 0
I'm sure everyone is leaping up and down with joy. Another newbie! Oh boy!

I could use some help with the form on my contact page. I'm not sure how to require fields. The page...http://www.mindkicker.com/Contact.html

Thanks!
D.O.I.P is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-13-2007, 07:44 PM Re: Require Fields in Form
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I see your form is using the gdform.cgi script to process the form. Do you know if that script is coded to check for required fields? Not all scripts are coded to check for required fields.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-15-2007, 03:27 PM Re: Require Fields in Form
Experienced Talker

Posts: 30
Name: Peter
Trades: 0
No, I don't know if it does. I will have to look into that.

One other minor item. I'm not sure how to direct the user to a thank you page when they click on the button to send feedback. Where would I input that code and what would it be?
D.O.I.P is offline
Reply With Quote
View Public Profile
 
Old 02-15-2007, 04:08 PM Re: Require Fields in Form
Novice Talker

Posts: 9
Trades: 0
If you can run CGI, why not use FormMail.pl. mats formmail.pl

then all you do is manipulate hidden form elements. It's easy enough and works like a hot ****.

To read a great tutorial on how to set it up, go here, DHTML shock Formmail.pl tutorial
samemrs is offline
Reply With Quote
View Public Profile
 
Old 02-15-2007, 05:23 PM Re: Require Fields in Form
memberpro's Avatar
Super Talker

Posts: 143
Trades: 0
You can use a basic javascript form validating script...That way the form would not be submitted until there is all the appropriate data entered. Javascript uses a small piece of code on your page to check form values.

It is easy to find one on the web... just google "javascript web form valiadation".

Redirecting your visitors to a thankyou page must be done by the script you are sending your form to. Look at your <form> tag and the "action=..." that is the name of the file on your server that will process your form.

If it is a PHP script then just add:

header("location: thankyou.html");

and you will redirect them to your thankyou.html page.
__________________

Please login or register to view this content. Registration is FREE
- step-by-step learn how to design, create and install your own website in hours...not days.
Please login or register to view this content. Registration is FREE
was never so easy.
memberpro is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Require Fields in Form
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.33189 seconds with 12 queries