Category Archives: Coldfusion

Coldfusion bug – dialog box redirects on ok

I had an interesting problem to figure out today. On one of my forms I had a Help icon which the user could click and it would display a dialog box with help. Sometimes the box would just close, other … Continue reading

Posted in Coldfusion, Problems & Fixes, Snippets | Comments Off on Coldfusion bug – dialog box redirects on ok

CFLoop for Mass Email

We have a large corporate database with the email addresses of sales employees. My task this week was to create a Form which filters the massive list and send an email to the filtered results. I started by creating a … Continue reading

Posted in Code, Coldfusion | Tagged , | Comments Off on CFLoop for Mass Email

CF linebreaks in excel same cell

By default when you add the BR tag inline Excel will interpret that as you want a new cell. We sometimes merely want a line break. When outputing to excel use this syntax in your code to keep linebreaks in … Continue reading

Posted in Coldfusion, Snippets | Tagged | Comments Off on CF linebreaks in excel same cell

MSIE 9 bug – enctype multipart/form-data

Fixing Coldfusion error message Invalid content type: application/x-www-form-urlencoded.The files upload action requires forms to use enctype=””multipart/form-data””. It is a bit misleading since we usually list the enctype. However for MSIE 9 Encoding must be there too. <CFForm action=”somepage.cfm” method=”put”, enctype=”multipart/form-data”, … Continue reading

Posted in Code, Coldfusion, Javascript, Problems & Fixes | Comments Off on MSIE 9 bug – enctype multipart/form-data

Coldfusion AJAX updating a database from any page link

I had an interesting situation where I needed to Tag orders as “Reviewed” in a database so they could be filtered out in future queries. I wrote my standard query form form to limit results as usual, added filter (reviewed, … Continue reading

Posted in Code, Coldfusion | Tagged | Comments Off on Coldfusion AJAX updating a database from any page link