Thanks Pascal, that's great! :)
---------- Original Message ----------------------------------
From: "Pascal Peters" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Tue, 24 Feb 2004 11:16:48 +0100
>REFind("[^0-9]",form.PropertyDataPrice)
>
>If you want to allow other caracters like . and , add them in the class:
>REFind("[^0-9.,]",form.PropertyDataPrice)
>
>> -----Original Message-----
>> From: Stuart Kidd [mailto:[EMAIL PROTECTED]
>> Sent: dinsdag 24 februari 2004 10:50
>> To: CF-Talk
>> Subject: REFind
>>
>> Hi guys,
>>
>> I'm trying to make sure that my field has ONLY numeric
>> characters otherwise show an error. I'm using the REFind but
>> it doesn't pick up characters like " $ £ etc.
>>
>> <cfelseif REFind("[[:num:]]",form.PropertyDataPrice)><cfset
>> MessageAlert = MessageAlert & "<font color='red'>Price</font>
>> must only be numbers baby.<br>"></cfif>
>>
>>
>> Any ideas?
>>
>> Cheers,
>>
>> Stu
>>
>>
>>
>>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- REFind Stuart Kidd
- REFind Stuart Kidd
- RE: REFind Pascal Peters
- RE: REFind Taco Fleur
- Re: REFind Ben Doom
- RE: REFind Taco Fleur
- Re: REFind Ben Doom
- RE: REFind Stuart Kidd
- RE: REFind Pascal Peters