Unable to fetch data in multiselect Drop down when set to true
search cancel

Unable to fetch data in multiselect Drop down when set to true

book

Article ID: 39372

calendar_today

Updated On:

Products

CA Service Catalog CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Question:

 How to fetch data from Single select to Multi-select drop down

Answer:

You can use input provided by the user in one or more fields in the form to determine the values in a select box. This technique is useful when you want to provide the user with two sets of multiple valid choices from your data source but do not want to enable the user to specify a custom selection.

To use the multi-select feature from one select box to another, set the onchange attribute to retrieve the data for the second select box as soon as the user makes a selection in the first select box. For the onchange attribute, specify the pre-defined JavaScript function named ca_fdFetchSelectData, using the following format:

ca_fdFetchSelectData('<form _id>','<field _id>');

Environment

Release: CASVCT99000-12.9-Service Catalog
Component: