Dave,

>I find this easier to read:
>null="#yesNoFormat(len(trim(form.contributed)))#">

I really like this in that is seems to be truer to the actual use of the 
variable as CF intended it to be used. 

To confirm what you are proposing, if form.contributed is NULL it will produce 
the following:

null="yes"

Otherwise, if form.contribute has some information it will produce:

null="no"

Should this be written in on every cfqueryparam as a failsafe or should other 
steps be taken so that is not needed?


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

Reply via email to