Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more  

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Design Forum > HTML / CSS
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 11-30-2006, 12:10 AM   #1 (permalink)
netridge
Netridge.net
 
netridge's Avatar
 
Join Date: Jul 2006
Location: California
Posts: 550
Default Validating fields in a form

I am using dreamweaver to create a form, The problem is when I try to make certain fields required it works, but when I try to make check boxes a required field... I cant seem to set the same setting to check boxes.. any help.
__________________
www.webmasterwidget.com
netridge is offline   Reply With Quote
Sponsored Links
Old 12-22-2006, 02:37 PM   #2 (permalink)
epochonaut
Junior Member
 
Join Date: Dec 2006
Posts: 7
Default Re: Validating fields in a form

I only used Dreamweaver once several years ago. Sounds like you might have to directly edit the source code and write a custom javascript function. If your checkbox has NAME="thisCheckbox" then you could write a javascript function like

function validateForm() {
if (document.formName.thisCheckbox[indexNumber].checked == false)
alert("You must check the box");
}

Can't help you with Dreamweaver though, sorry...
epochonaut is offline   Reply With Quote
Old 12-26-2006, 10:29 AM   #3 (permalink)
iworkforthem
Junior Member
 
Join Date: Dec 2006
Posts: 15
Send a message via Skype™ to iworkforthem
Default Re: Validating fields in a form

You need to put Javascript for that to validate the fields. That's the best option. Google "javascript validation email form". You should get what you want there.
__________________
Read my Blog! A Practical Guide to Get the Best out of the Internet.
Buy My T-Shirts! Only $15 Each.

~~~~~~~
iworkforthem is offline   Reply With Quote
Old 12-27-2006, 03:34 PM   #4 (permalink)
netridge
Netridge.net
 
netridge's Avatar
 
Join Date: Jul 2006
Location: California
Posts: 550
Default Re: Validating fields in a form

Thanks
__________________
www.webmasterwidget.com
netridge is offline   Reply With Quote
Old 12-31-2006, 02:08 AM   #5 (permalink)
ophir.oren
Junior Member
 
Join Date: Dec 2006
Location: Israel
Posts: 6
Default Re: Validating fields in a form

Form validation with JavaScript
__________________
מחפשים לבנות אתר אינטרנט? אנו מציעים שירות בניית אתרים. המערכות שלנו מכילות מערכות לניהול אתרים מתקדמות ונוחות לתפעול.

Seeking for good graphic design? DCagan - Graphic design, catalog design & print catalog in New York
ophir.oren is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 11:51 PM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums