Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help with required fields in my form

Status
Not open for further replies.

dfc41

Technical User
Nov 18, 2002
4
0
0
US
Hi all,
I am new to web page design & forms, so bare with me. I am having trouble with required fields on my form. My host supports cgi forms. I have contacted them about the required fields, they said that they dont have anyway to setup required fields at this time. I have tried this code with no luck <input type=hidden name="required" value="name,email,phone">. You can check out my form at: any suggestion would be appreciated.

Donna
 
Besides not being able to read anything on your website.
I was unable to find the link to your forms.

Please post an example of your form and .cgi

 
Donna,

For required fields you'd be better off using a javascript solution, and fire a validation routine in the onSubmit event

There should be plenty of examples on the javascript forum here at tek-tips

HTH
--Paul

cigless ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top