Fo shizzizle. I mean, ok, I have pretty big monitors, and my resolution is set pretty high, however big strings like that run off the screen, also how is that more readable, or easier to understand?
I know that with the advancement in processing power the performance hit might not be what it once was, might not be anything at all really, but I would personally prefer that whoever comes after me into a project can figure it out without tearing their hair out. Also, the trim on data I am assuming is coming from a db? What's that all about? If your DB is properly designed, and using the data type appropriate to the data, you shouldn't have leading or trailing spaces to worry about, worst case you should be able to clean that up on input. Honestly, I almost wish that Adobe would do away with iif and evaluate. > -----Original Message----- > From: Tom Chiverton [mailto:[EMAIL PROTECTED] > Sent: Friday, August 11, 2006 9:14 AM > To: CF-Talk > Subject: Re: CFIF inside a Form > > On Thursday 10 August 2006 22:13, Russ wrote: > > Other then it's probably nicer to write it like this: > > <input type="hidden" name="price" > > > value="#trim(iif(getDollDetails.price,getDollDetails.price,getDollDetails. > s > >r p))#"> > > I don't think anything involving iif and/or trim is nicer than a perfectly > good if/else. > > -- > Tom Chiverton > > **************************************************** > > This email is sent for and on behalf of Halliwells LLP. > > Halliwells LLP is a limited liability partnership registered in England > and Wales under registered number OC307980 whose registered office address > is at St James's Court Brown Street Manchester M2 2JF. A list of members > is available for inspection at the registered office. Any reference to a > partner in relation to Halliwells LLP means a member of Halliwells LLP. > Regulated by the Law Society. > > CONFIDENTIALITY > > This email is intended only for the use of the addressee named above and > may be confidential or legally privileged. If you are not the addressee > you must not read it and must not use any information contained in nor > copy it nor inform any person other than Halliwells LLP or the addressee > of its existence or contents. If you have received this email in error > please delete it and notify Halliwells LLP IT Department on 0870 365 8008. > > For more information about Halliwells LLP visit www.halliwells.com. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249570 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

