Search code examples
coldfusioncoldfusion-11cfinput

cfinput coldfusion 11 validateat="onBlur" - Browser Issues


OnBlur statement works in Internet Explorer but not in Chrome. I am stumped and can not figure out what I am doing wrong or if there is a syntax issue.

 <cfinput type="text" value="#Form[QtyNumber]#" class="prQuantity" validateat="onBlur" name="#QtyNumber#" validate="numeric" message="Please enter only whole numbers into the Quantity Field.">    

Solution

  • Might look into changing it to a <cfinput ... mask="99999"> if you JUST want numbers. http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec0ffd8-7ffe.html Yes, I know that is not exactly what you asked, but it is what your example msg shows and has worked well for me.