cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Madu" <andrewm...@gmail.com>
Subject Re: Widget javascript validation problem
Date Wed, 05 Jul 2006 12:47:19 GMT
Gary,


> if(!/^[0-9]{16}$/.test(account_no.value)) { //This is invalid }
>
> will match an account number with no spaces.


many thanks for that heads up. All is working a treat now.

regards

Andrew

Mime
View raw message