Try:

<cfif structkeyexists(form, "ContractType" & i)>

On Wed, Oct 24, 2012 at 9:14 AM, Phillip Vector
<[email protected]>wrote:

>
> Any concept of how I would do this correctly for a coder who hasn't had
> his morning coffee yet? :)
>
> <cfloop from="1" to="9" step="1" index="i">
>      <cfif isdefined(#form["ContractType#i#"]#)>
>           Test
>      </cfif>
> </cfloop>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352988
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to