Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Adam Fairbanks

Member since Dec 11, 2008

Recent Blog Comments By Adam Fairbanks

  • Bulleting Credit Card Numbers With Regular Expressions

    Posted on Dec 7, 2007 at 1:21 AM

    Regex is great because it's so powerful and yet so succinct, and RepeatString is a cool function. However, I'm not sure this problem requires even regex: <cfset strNumber = "0123456789123456" /> <cfset strCC = "***********#Right(strNumber,5)#"> (Does it really matter if the asterisks ... read more »

  • Preventing Spam Bot Form Submissions With ColdFusion (Revisited)

    Posted on Aug 28, 2007 at 10:53 AM

    I find that robust server-side form validation screens out most automated form submits. The bots usually trip on at least one item: valid email address, valid phone, valid zip, maxlength, required field, field type (e.g., numeric, date), etc. So the bot gets an error message from the server-side for... read more »

  • Ask Ben: Printing Shipping Labels With ColdFusion

    Posted on Aug 27, 2007 at 4:57 PM

    sherrardb - excellent! Can you post an example css (with html)?... read more »

  • Ask Ben: Printing Shipping Labels With ColdFusion

    Posted on Aug 24, 2007 at 2:27 AM

    This is a good tutorial on using the CF Report Builder to create Avery labels: The tutorial includes pre-created files for a number of common label numbers, and all you have to do is 1) install the CF Report Builder (free, quick i... read more »