Expand my Community achievements bar.

SOLVED

Barcode Error with drop-down object with a switch statement

Avatar

Level 6

Hello all,

I have created a custom object that uses a switch statement to fill drop-down objects depending on user selections. I'm getting an error stating:

 

"Paper Forms Barcode

Since this list allows for custom text entry, you should specify a data pattern using the XML Source editor. Otherwise, when this list is filled at run time, the amount of data may exceed the maximum barcode size." See below:

BarcodeError.png

I could be wrong but I believe the District/CO drop-down object is the one it has a problem with and it is only two characters. How do I fix this as it thinks its a custom entry because the entry text is within the switch statement. 

 

Here is the link to my form with the object:

https://drive.google.com/drive/folders/1KNrF8wRtJNE502IFMFML83QtAIFAEA9c?usp=sharing

Thank you!

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @nowackem ,

this is not an error but an advise. The Designer tries to calculate the approximate number of characters to be loaded into the barcode. It cannot determine it from all objects and also not when scripting is involved. It just makes you aware that you could "overload" the barcode - meaning you send more characters to it than can be displayed. If you are sure that it is well within limits you can ignore this advise.

Kosta

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi @nowackem ,

this is not an error but an advise. The Designer tries to calculate the approximate number of characters to be loaded into the barcode. It cannot determine it from all objects and also not when scripting is involved. It just makes you aware that you could "overload" the barcode - meaning you send more characters to it than can be displayed. If you are sure that it is well within limits you can ignore this advise.

Kosta