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
-~----------~----~----~----~------~----~------~--~---

Reply via email to