Originally posted by: Newsgroup User
Can anyone see why this wouldn't set Client.GiftCardValue to 0 if the word
None was entered??
Basically I'm try to eliminate one from entering text in a form field and if
the do I just want it converted to a 0 value.
<cfif NOT IsNumeric(TRIM(URL.amount))>
<cfset Client.GiftCardValue = 0>
<cfset Client.GiftCardValue = URL.amount>