Check out these two emails sent in August:

> ----- Original Message -----
> From: "Rick Osborne [Mojo]" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 21, 2001 6:09 PM
> Subject: RE: Bar Code Scan
>
>
> > Back when CueCats were all the rage, I wrote a CF app that would take
the
> > input from it, decode it, and do neat things with the UPC.  Being the
geek
> > that I am, I didn't have much use for it beyond cataloguing my (comic)
> > books.  But, it all really depends on your scanning hardware.  The
CueCat
> is
> > a keyboard shunt, so it inputs character data and is therefore pretty
easy
> > to work with in a web context.  If your scanner hardware is anything
more
> > complex than that, you're going to end up having to write browser
> > plugins/ActiveX controls to get the data in, etc.  As far as cost,
CueCats
> > are free.  Visit your local RadioShack or do a web search.
> >
> > -R
> >
> > http://www.rickosborne.org/CueCat/

------------------------
AND
------------------------

-----Original Message-----
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 11:31 AM
To: CF-Talk
Subject: Re: Bar Code Scan


I've been doing nothing but barcode apps for the last few weeks (warehouse
management and shipping system, all in CF) and here's an extremely helpful
tip:

Keyboard wedge scanners have the ability to be programmed and most will
come by default with a setting of adding a CR to each barcode scan. In IE,
pressing return will submit a form, so this works great.

But what happens when you want to scan more than one barcode? Javascript
to the rescue:

<SCRIPT LANGUAGE="JavaScript">
<!--
function checkForm(form) {
valid = false;
    if (form.orderno.value.length > 0 &&
        form.tracking.value.length  > 0)
        { valid = true; }
        else { form.tracking.focus(); }
        return valid;
}
//-->
</SCRIPT>

This is from a page that waits for a order scan and a delivery
confirmation label scan.

This is in the form tag:

 onSubmit="return checkForm(this);"

So, the javscript prevents the form from submitting until both fields are
filled AND moves the focus from the first field to the second after the
frist scan! Tada!

Hope that helps. That's been my little up my sleeve trick lately.






-----Original Message-----
From: Rich Tretola [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 5:16 PM
To: CF-Talk
Subject: Cue Cat


I picked up one of those cue cats from radio shack today, has anyone ever
written a tag that will use this as a barcode scanner?

Rich

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to