Howdy,
I am trying to get the CFINPUT Tag to validate an integer on a form. The darn tag
will validate SSN, zipcodes, etc, but when I enter the integer parameter and test the
validation using the following value ( .3 or any value that starts with a decimal
point ) the javascript validation fails ( the js allows the value to pass).
Does anyone know if this is a bug in CF 4.5 and something that I will just have to
live with?
Michael
<CFFORM Name="Test" ACTION="appCFINPUTTEST.cfm">
<CFINPUT Type="Text" Name="Number1" Required="yes"
validate="integer" Message="You did not provide a correct Integer!"
Size="20" Maxlength="30">
<BR>
<INPUT Type="Submit" Name="Submit" Value="Submit">
</CFFORM>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists