Question
cfinput validate problem
Hi,
Does anyone know how to validate cfinput to not allow blank spaces as input? I want to only allow numbers, but people are just putting spaces in and it's throwing everything off.
Here is what I tried from the documentation I read, but it doesn't work:
<cfinput validate="float,noblanks" message="Week 3 must be numeric" type="text" name="week3">
Does anyone know how to validate cfinput to not allow blank spaces as input? I want to only allow numbers, but people are just putting spaces in and it's throwing everything off.
Here is what I tried from the documentation I read, but it doesn't work:
<cfinput validate="float,noblanks" message="Week 3 must be numeric" type="text" name="week3">
