I recall having similar problems, and I think getting carriage returns jammed in there too. I would vote for the brute force approach you describe. It's not really that bad though, Fusebox code does similar things to the form scope.
> -----Original Message----- > From: Gyrus [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 28 January 2003 11:26 a.m. > To: CF-Talk > Subject: SOT: hidden form fields and Macs > > > Anyone have any problems with hidden form fields and Macs? > I've got someone > using a CF site I've done, they're using Mac OS9 & IE5 (I think). > > Problem seems to be that boolean hidden fields (values set to > "TRUE" or > "FALSE") seem to be getting spaces added to them abitrarily. > At least, when > I use > > <cfif Trim(form.hiddenField)> > > rather than > > <cfif form.hiddenField> > > I don't get the "cannot convert to boolean" error. Instead of fiddling > around with every hidden boolean in the app (it's quite complex), I'm > considering just running a custom tag to loop through the > Form scope every > time one's submitted and Trim everything regardless. But this > seems like > worse than a hack, just flailing blindly! > > Anyone have any similar experience or ideas on this? > > Gyrus > [EMAIL PROTECTED] > work: http://www.tengai.co.uk > play: http://norlonto.net > PGP key available > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

