Skip to main content
Participant
December 18, 2019
Question

Auto-Tab 2019

  • December 18, 2019
  • 1 reply
  • 1206 views

Good Afternoon Community 🙂

 

I am trying to create a form in Adobe Acrobat Pro DC. So far this has been pretty successful.

The next thing I am trying to achieve is that when I enter my asset number into the field using a barcode scanner, that it will go to the next field for the secondary barcode to be scanned.

The very next field is for notes so what I would like, is to do some code that will allow for me to click in the first asset number box, scan the barcode and have it automatically move onto the next field. The barcode numbers are limited to 6 digits, so I have set each field to only accept 6 digits.

 

Heres the thing- I have basically no knowledge of JavaScript so have had no luck in getting any of the scripts to work. Does anyone have any ideas that might help me out?

 

Many Thanks in advance 🙂

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
December 18, 2019

The main question is whether the barcode scanner triggers any of the events normally associated with changing the value of a field. If not, then it's not possible to do that.

CandiTAuthor
Participant
December 18, 2019

The only thing I can think that would trigger it is once it has reached 6 characters it moves to the next field? But being a beginner in the true sense of the word- I am unsure if this is really possible?

 

With the input from the scanner being automatic, could it be coded that if there is content in the field it skips to next? I'm not sure if it would only allow a small amount of the 6 numbers to be captured is the only thing.

try67
Community Expert
Community Expert
December 18, 2019

It's certainly possible with a normal text field.