In that example, I knew the value was a number so I wouldnt val() it. But let's 
say it was a URL parameter. I always do something like VAL() around them when I 
expect a number -- and I noticed that running isValid("integer",myVal) returns 
NO on legitimate numbers that have been VAL()'d. It seems like a bug.

Tim

>Just curious, but why would you val() the myVar when you already have it 
>set as a numeric value? (since it isn't set in quotes then it wouldn't 
>be considered a string, right?) Not sure about your test there. Haven't 
>really seen this isValid() function yet...
>
>Cutter
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236846
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to