CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 checkbox list selection

Print topic Send  topic

Author Message
petez5

Posts: 2
Posted: 11/28/2008, 7:06 AM

Does anyone know how I can set the status of a checkbox that is part of a checkbox list through code?

I am using a checkbox list as a set of filters for a grid of results. I can successfully retrieve the details of the items that are selected using CCGetRequestParam("mycheckboxlist", ccsGet) and have used this to add conditions to my query. That is all working fine but I need a way of setting the checks on/off through code so that all items aren't defaulted to checked.
View profile  Send private message
Oper


Posts: 1195
Posted: 11/30/2008, 6:13 PM

maybe i did not udnertand right but:

(before show checkbox1)

formname.checkbox1.value=true
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
petez5

Posts: 2
Posted: 12/01/2008, 1:32 AM

i am using a checkbox list not a single checkbox
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.