Austin Govella wrote:
I have a list of generic features.
And I have a list of features assigned to a specific item.
I want to print out the generic features with checkboxes
next to them.
If the item in question has been assigned one of the
features, I would like the checkbox for that
That is very similar to the way I do it.
I think you can skip the query loop by using valuelist():
cfset variables.selected_features = valuelist(q_selected_features.
feature_id)
Note you can simplify that cfif statement in the checkbox down to:
cfif listfind(variables.selected_features,
Mark W. Breneman wrote:
I think you can skip the query loop by using valuelist():
cfset variables.selected_features = valuelist(q_selected_features.
feature_id)
Note you can simplify that cfif statement in the checkbox down to:
cfif listfind(variables.selected_features, feature_id)
3 matches
Mail list logo