Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Need a Simple OnChange Client Script to Force List Collector to Run/Refresh

kshaw
Giga Guru

I have a catalog item (hr request) that includes a List Collector.

I have a reference qualifier running correctly to filter that list based on the department. I am also hiding the filter section based on the attribute "no_filter". Everything is working fine.

However if the user/agent changes the department, the list collector does not update.

I am looking for an onChange client script that would force the list collector to refresh when the department is changed/

Thanks in advance for help

1 ACCEPTED SOLUTION

Kieran Anson
Kilo Patron

Hey,

You don't need a script, just update the variable to watch the element(s) you're wanting to use in the reference qual. There is a (poorly) documented attribute 'ref_qual_elements' that you use.

1. The variable on the form I want to include in the reference qual.

2. The variable name to watch (if you're using multiple, separate with ;)

find_real_file.png

find_real_file.png

View solution in original post

6 REPLIES 6

Kieran Anson
Kilo Patron

Hey,

You don't need a script, just update the variable to watch the element(s) you're wanting to use in the reference qual. There is a (poorly) documented attribute 'ref_qual_elements' that you use.

1. The variable on the form I want to include in the reference qual.

2. The variable name to watch (if you're using multiple, separate with ;)

find_real_file.png

find_real_file.png

kaminikansal
Tera Contributor

Thanks Kieran.