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!

passing uncheck checkboxes

Status
Not open for further replies.

Leakyradiator

Technical User
Jul 12, 2002
35
0
0
US
I am passing info on checked boxes using the following code:

<cfoutput query="getsubcat">
<input type="checkbox" name="selectsubcategory" value=#subcat_id#"
<Cfif listfind(subcatlist,subcat_id)> checked</cfif>> #subcat_id# #subcategory#<br>
</cfoutput>

It determines which items are checked by comparing against a list.

On the action page, I want to also be able to process the "unchecked" boxes. How do I pass info on unchecked boxes?

Thanks much
 
You'll either need to use cfparam or check for the values with IsDefined in cfif statements.



Hope This Helps!

Ecobb
Beer Consumption Analyst

"My work is a game, a very serious game." - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top