Thanks Chuck and this was way too easy :)
if (isNaN(document.ScheduleChanges.providerID.value)) {
allOk = false;
errorString += "\n- Provider Id must be numeric";
}
Bob
>Bob,
>
>I would use IsNaN() javascript function. It is very basic. If you need
>to verify more than that you can move in to Regular Expression.
>
>Here is a link that describes this function.
>
>http://www.w3schools.com/jsref/jsref_isNaN.asp
>
>
>Chuck
>b
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3251
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15