To add to your misery, both methods work fine for me.  :\ 

> -----Original Message-----
> From: DURETTE, STEVEN J (AIT)
> 
> Hi all, 
>  
> I came across something today that just made my jaw drop...
>  
> I have a snippet of code:
> <cfparam name="form.myField" default="" />
>  
> <cfif form.myField neq "">
>     <cfset variables.myNewField = "Didn't pass anything in" />
> <cfelse>
>     <cfset Variables.myNewField = "You passed in: " & form.myField />
> </cfif>
> <cfoutput>#Variables.myNewField#</cfoutput>
>  
> If I change the <cfif form.myField neq ""> to <cfif not
> len(form.myField)>, I mysteriously get a NULL NULL error.  
> This type of
> code works in other pages.
>  
> Got me stumped.
>  
> Steve


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231015
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to