You know I did not realise that the ABN number had a structure, I thought it was just a given number that is unique to that business and is either recycled or incremented.
So this begs the question, what is really so special about the number that needs validating? Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -----Original Message----- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Stanton Sent: Tuesday, 10 April 2007 9:26 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: validating an ABN Hi Stephen The web service is pretty damn fast (<500ms for the round trip), but if you are worried about performance you could validate the format and/or build up a local cache of ABNs that have passed validation already. Cheers Mark On 4/10/07, Stephen M <[EMAIL PROTECTED]> wrote: > > I'm thinking that the best idea would be to do both, first validate > the number then submit to the web service. The web service will > probably be slow at times, so you wouldn't want to waste time > submitting a typo. > > My approach is to validate, ask the user to check that what they have > entered is correct, then submit. > > regards, > Stephen > > On Apr 9, 2:00 pm, "Stephen M" <[EMAIL PROTECTED]> wrote: > > So, has anyone got a Cold Fusion ABN validator they can throw me? > > > > I've found a PHP one, but no luck so far searching for one in CF. > > > > So far, what I've come up with is > > > > Len(ABN) eq 11 > > > > which is a bit like Blackadder and Baldrick's s rewrite of Dr. > > Johnson's dictionary, stuck on Aardvark > > > > > -- Mark Stanton Gruden Pty Ltd http://www.gruden.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---