I am trying to do a few if/else if statements to modify the values of escalationSubType based on the value of escalationType. Can anyone help me with this sytax error?
We can't tell you, you've snapped a screenshot where the pop-up box is obscuring the error.
Ok, now we can check what is behind it, we can point you to the } that is place in line 3 too early in the code, before the .collectentries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know, I can't work out what your code is supposed to be doing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are two fields, Escalation Type and Escalation Sub-Type.
Based on the value of Escalation Type, I want only certain values in "Escalation Sub-Type" to be selectable
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, thank you, that's sorted out my confusion!
Have a look at https://library.adaptavist.com/entity/set-behaviour-multi-and-single-select-options-and-value - I think that does what you are looking for!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.