Copy link to clipboard
Copied
I am needing help with what is wrong with this code... It keeps saying I am missing a ] at line 3.
if(event.value == "Tamper Evident Round")
this.getField("number1").setItems(["22314","22514","23514","25014","25015","26215","26214",27514","21114","21560","22060","LID20114","LID20170","LID20160"]);
else if(event.value == "SealPack Round Tall")
this.getField("number1").setItems(["22520","23120","23520","24020","25020","27520","21120","LID20120"]);
else this.getField("number1").clearItems();
Replace
,27514"
with
,"27514"
Copy link to clipboard
Copied
This is the Using the Community forum (which is the forum for issues using the forums).
Please tell us what Adobe application you are using so that this can be moved to the proper forum for help.
Scroll down here to see a list of the forums:
https://community.adobe.com/
Copy link to clipboard
Copied
I am using Adobe Acrobat Pro
Copy link to clipboard
Copied
in the future, to find the best place to post your message, use the list here, https://community.adobe.com/
p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.
<"moved from using the community">
Copy link to clipboard
Copied
Replace
,27514"
with
,"27514"