Try len(Trim(chgFLangauge)).  See if that helps 

On Thu, 2002-10-31 at 15:22, Clark, Aimee wrote: 
> I'm sorry, but that gives me an error right where the #chgFLanguage# line
> is.
> 
> I have tried the len(chgFLangauge) suggestion that Shawn provided, but that
> did not work either.
> 
> I tried this and it at least allowed for me to modify something other than
> the list box, but now if I choose a foreign language, it doesn't pass the
> value I selected to the email that is generated. 
> 
> <cfif IsDefined("chgFLanguage") and chgFLanguage IS NOT "">
> <tr>
> <td><b>Foriegn Language Change:</b></td>
> <td>#chgFLanguage#</td>
> </tr>
> </cfif>
> 
> Boy, am I trouble or what?
> 
> -----Original Message-----
> From: Tony Weeg [mailto:tony@;navtrak.net]
> Sent: Thursday, October 31, 2002 2:21 PM
> To: CF-Talk
> Subject: RE: Need assistance with listbox on a form
> 
> 
> aimee,
> 
> try this....
> 
> <cfif NOT isDefined("chgFlanguage")>
> <tr>
> <td><b>Foriegn Language Change:</b></td>
> <td>#chgFLanguage#</td>
> </tr>
> </cfif>
> 
> .tony
> 
> Tony Weeg
> Senior Web Developer
> Information System Design
> Navtrak, Inc.
> Fleet Management Solutions
> www.navtrak.net
> 410.548.2337 
> 
> 
> -----Original Message-----
> From: Clark, Aimee [mailto:aclark@;stinsonmoheck.com] 
> Sent: Thursday, October 31, 2002 3:04 PM
> To: CF-Talk
> Subject: RE: Need assistance with listbox on a form
> 
> 
> So, for some reason my last email was cut off. Here is the code that I
> am
> trying to process from my previous problem.
> 
> Here is the code that is processing:
> 
> <cfif #chgFLanguage# is not "">
> <tr>
> <td><b>Foriegn Language Change:</b></td>
> <td>#chgFLanguage#</td>
> </tr>
> </cfif>
> 
> How do I correct this?
> 
> Thanks,
> 
> Aimee'
> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to