jwdcfdeveloper
Programmer
Does anyone know if the integer validation of a cfinput text box can be triggered by white spaces? I ask because I am modifying a page and when I was ready to submit the page, I get stopped by the integer validation, informing me to enter whole monitary amounts only. All of my fields are populated from a database and are either blank, or have whole numbers in them. So the only thing I can think of is whitespaces. If that's the case do the Trim, LTrim, RTrim, etc. functions work for numbers too? If not does anyone either know of a function that removes whitespaces, or know what else could be causing the error message to trigger.