Tag Archives: to

Setting the step size on an indexed loop in ColdFusion using the CFLOOP tag

In a previous example, “Creating a simple index loop in ColdFusion using the CFLOOP tag”, we saw how you could create a simple index loop in ColdFusion using the <CFLOOP> tag and setting the index, from and to attributes.

The following example shows how you can set the step size on an indexed loop using the <CFLOOP> tag and specifying the step attribute.

Continue reading