You are viewing limited content. For full access, please sign in.

Question

Question

Forms Bar code

asked on May 3, 2022

Hello,

I'm attempting to track inner district (school district) mail. 

I'm wondering if I can have a LF Form create a bar code or QR code (with Origin and Destination Info) that will be printed and attached to the package.  And when the mail distribution person picks up the package, have them scan the code into a LF Form.  (Or something of this nature.)

But I'm at a complete loss on where to begin.

Can LF Forms generate a code and send it to a printer?

Can LF Forms read a code to populate fields to store in a db table via a workflow?

 Any help is much appreciated.

Velma V.

0 0

Replies

replied on May 3, 2022

The short answer is Yes! We have a process where once the user prints off the form and a workflow updates a database, then when a the data management team scan the document through Quick Fields, it pulls information from the database.

 

I would do the what your asking in this order:

  1. Create form and make sure it has a unique reference on it (baring in mind it is easy to read for OCR). Have a decision in LF Forms where if the user clicks the print button it triggers the workflow else cancel the submission. I had 2 buttons available and mapped it like this:
  2. Send the information from the form to a workflow and get the workflow to update a table in the database.
  3. Use Quick Fields, Workflow or Manual input to lookup that information from the database to populate the metadata.


Have fun!

0 0
replied on May 3, 2022

To generate the barcode in Forms, before printing, I have used an implementation like this before

https://lindell.me/JsBarcode/

Reading a barcode into another form later is simple, just scan it with the field selected.

0 0
replied on May 3, 2022

Hey Chad,

I have to admit, I've not done anything with barcodes previously, so I'm not sure what I'm doing.

I've gone through GitHub and pulled down the jsBarcode-master.zip and unzipped it, but I don't know how to call the library from within the form.

 

I have this in a Custom HTML:    <svg id="barcode"></svg>

I have this in the JavaScript:         JsBarcode("#barcode", "Hi!");

 

Should I be able to see the barcode in a Preview page?

 

All help is greatly appreciated!

Velma V.

 

0 0
replied on May 3, 2022

Are you familair with the javascript language and using remote scripts? It would require some scripting knowledge to implement a javascript solution. You may want to work with your VAR if scripting is not something you have done before.

0 0
replied on May 6, 2022

I used the link you provided above and was able to get what I needed.  Thank You

 

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.