For other unsolicited help ;) You don't need the <cfoutput> around the code you've given. Also, the hashes/pound signs are not required in the CFIF or the CFSETs <cfset shopping.name = form.name> and <cfif len(form.bphone) eq 0> are the slightly cleaner way to call variables in these instances.
I have a question on this note. I have found that sometimes when I do that, my variables don't "eq" when they should, and sometimes even cfset goes wrong (normally when I'm concatting or otherwise changing variables though, not a straight assign). Does CF have some kind of late type-casting that it's performing incorrectly or perhaps just differently on different variables that might be causing this? If I compare "#Var_Name#" - I never get that problem, and I've assumed it's because it will type-cast to a string/character type this way? Any ideas anyone? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:873 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
