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


Reply via email to