IsDefined does not accept array notation. You need to rewrite it using dot 
notation:

              IsDefined("form.rel_#ar#") 

or 

              IsDefined("form.rel_"& ar) 


The other option is to use StructKeyExists, which is generally preferred 
because it is a little more precise than isDefined:


              structKeyExists(form, "rel_"& 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:356504
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to