Set Credit Card Years Forever
<cfparam name="fromYear" default="#DateFormat(Now(),"yyyy")#">
<cfset toYear= fromYear + 5>
<select name="cardYear">
<option value="0" <cfif fromYear eq "0">selected</cfif>>Select Year</option>
<cfoutput>
<cfloop index="year" from="#DateFormat(Now(),"yyyy")#" to="#toYear#" step="+1">
<option value="#year#" <cfif fromYear eq year>selected</cfif>>#year#</option>
</cfloop>
</cfoutput>
</select>