List collector to text box with alternate values

Tim Steckel
Tera Contributor

I have a requirement on a catalog item to take a list collector that then needs to then copy a specific value of those collected records to a multi text box upon submission. 

 

Example: Catalog item has 3 records with a 6 digit number for a Display Value on Variable A.

From those 3 records I need to get a value from each record and write it to a new multiline text box in Variable B. 

- Assume Variable B will be hidden from catalog user in portal 

1 ACCEPTED SOLUTION

SanjivMeher
Kilo Patron
Kilo Patron

You need to make a GlideAjax call when there is a value added to the list collector.

So an onChange client script to get values and then make glideajax...Get the corresponding values and populate Variable B.

Below thread has similar requirement. You can use that solution

https://www.servicenow.com/community/itsm-forum/extracting-additional-values-from-list-collector/m-p...

 


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

2 REPLIES 2

SanjivMeher
Kilo Patron
Kilo Patron

You need to make a GlideAjax call when there is a value added to the list collector.

So an onChange client script to get values and then make glideajax...Get the corresponding values and populate Variable B.

Below thread has similar requirement. You can use that solution

https://www.servicenow.com/community/itsm-forum/extracting-additional-values-from-list-collector/m-p...

 


Please mark this response as correct or helpful if it assisted you with your question.

Tim Steckel
Tera Contributor

I had to use the second part to keep from getting the Java error but it worked great. THANKS