Hi!
i am using cfinput to get the data for updation!.
and i get only decimal values from the database , my users instead of keying in values
like "1234" leave a blank space and enter like
"1 234"
which gives an error , suggest me and gimme the coding to avoid this situation ,
please gimme the coding for an alert! message if they key in data wrongly
this is my code
-----------------------
<cfinput name="physicians_identified" value="#ident_phys_result#" type="text"
message="Physicians Identified needs to be a number between 0 and 9999" range="0,9999"
validate="integer" REQUIRED="Yes">
-----------------------------
this is the error i get when they give the space in between .
---------------
An unexpected token "2" was found following "tier_1_ident_phys=1". Expected tokens may
include: "". SQLSTATE=42601
----------------
Please help
-paul
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists