Contact Me
Resources
Development Tips & Code Library
-
Recent Entries
Blogroll
Category Archives: Code
CF datefield calendar
CF8 came bundled with a neat feature to create a calendar form element. <cfif not isDefined(‘form.mydate’)> <cform action=”thispage.cfm” method=”post” preserveData=”yes”> <label for=”mydate”>The Date <cfinput type=”datefield” name=”mydate” readonly /> …//other html form elements here <cfinput type=”submit” value=”go”> </cform> <cfelse> <cfquery name=”get_date”> … Continue reading
Posted in Code, Coldfusion
Comments Off on CF datefield calendar
Verifying Coldfusion version
Need to know which version of CF you are running? Try this. <cfset strVersion = SERVER.ColdFusion.ProductVersion /> <cfset strLevel = SERVER.ColdFusion.ProductLevel /> <cfoutput>#strVersion# .. #strLevel#</cfoutput>
Posted in Code, Coldfusion
Comments Off on Verifying Coldfusion version
Cell phone links on a page
While searching for ways to make a cell phone call a phone number on a web page I found there is no official standard. The most common seems to use the anchor tag with href=”tel:9999999999″. It does work from my … Continue reading