Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 How to get values of checkboxes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rmmarsh
Super User

USA
396 Posts

Posted - 13 Nov 2007 :  00:54:48  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
I have a form with checkboxes (4 of them). I am using a form mail script (Gypsymail... it's free and works great!). My problem is that the checkboxes don't indicate if they are checked or not; I can tell which are checked by looking for the [name]; if it's there, it wasn't checked; no [name], and it was checked.

Is there a better way of viewing this?

s.dav
Site Admin

Italy
3364 Posts

Posted - 13 Nov 2007 :  10:31:28  Show Profile  Visit s.dav's Homepage  Reply with Quote
On the client side (the HTML page) you can test the check status using the syntax myCheck.checked
On the server side (if you send check data to a server) you can test the check status by checking the value associated to the check.

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000