Jim Gay wrote: >Thanks for all the responses. > >cfif within a cfinput does indeed not work. I changed my code to use >regular input. >Is there a benefit to cfinput over input aside from validation of text? > > No not really... If you don't need the validation stuff or need something more bespoke, then you don't want to use cfform, cfinput etc. All it will do is add overhead to your pages by including a load of javascript you don't need.
>Also, are there any performance problems with cfif over IIF or vice >versa? > > There used to be an argument that IIF was slower than CFIF because of the way was interpreted in CF5. It was kind of a silly argument really given that the saving from using cfscript over CFIF over IIF is in the realms of 100ths of a second. With CFMX this argument is null and void as all code is precompiled, so no there's no performance issue with using cfif or IIF. Regards Stephen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:925 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
