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:
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.
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.