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.
|
|
|
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 |
|
|
petez5
Posts: 2
|
Posted: 12/01/2008, 1:32 AM |
|
i am using a checkbox list not a single checkbox
|
|
|
|