Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Multiple Dropdown Lists with Switch Statement

Avatar

Level 5

I am using multiple dropdown list to help a user find their correct sales associate based on the model and part they are using. However my "switch" statment is always going to the "default" case. Where am I scripting wrong?

https://workspaces.acrobat.com/?d=X2MirIocbNfyojw6QezAbA

1 Accepted Solution

Avatar

Correct answer by
Level 5

the variable 'part" needs a value. Add the script:

part = this.rawValue

SOnineThreenine.fxnineThreenine(part);

to the exit event of dropDownlist2. Otherwise the variable "part" gives you a console error message of [object XFAObject]

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

the variable 'part" needs a value. Add the script:

part = this.rawValue

SOnineThreenine.fxnineThreenine(part);

to the exit event of dropDownlist2. Otherwise the variable "part" gives you a console error message of [object XFAObject]