- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 07:34 AM
Hello,
I have 2 variables "application" and "type_de_demande " with type 'Select Box", the values of the second variable "type_de_demande" depend on the value selected in the first variable "application".
To do this, I have created an onChange Catalog Client Script :
When I created the service request, I found that "Type de demande" shows the value and not the label :
I don't think that the problem is in the Catalog Client Script because in the form we have labels shown which are correct.
Do you have any suggestions please?
Thank you in advance.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 07:39 AM
On this variable, does the choice list exist?
I think what is happening is that choice list doesn't exist, you are only creating the choices on the fly with code. So when you submit the task it only has the value but nothing to map the Label.
So look at the variable and add the choice list(all possible options)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 07:39 AM
On this variable, does the choice list exist?
I think what is happening is that choice list doesn't exist, you are only creating the choices on the fly with code. So when you submit the task it only has the value but nothing to map the Label.
So look at the variable and add the choice list(all possible options)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 07:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 07:51 AM
The choice list doesn't exist as you said, I will add it and see if it works.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 07:54 AM
Cool, Do mark the response as correct/helpful if it solves the issue.