onLoad client script populate variable after insertion

Alon Grod
Tera Expert

Hi,

I have the variable 'Network' of type select box in my variables set. I created onLoad client script to populate the Network variable with the login user's network. The problem is that after the user created the RITM using the catalog item, when he goes to the RITM page, the Network variable is still populated with the login user's network instead with the actual network that the user chose during the process of creating the RITM. What should I do in order to make sure that if the user chooses a different network and submit the request, the network variable will have the desired network? 

1 REPLY 1

Peter Bodelier
Giga Sage

Hi @Alon Grod 

 

Make sure only the Applies on Catalog Item View checkbox is checked on the Client Script:

PeterBodelier_0-1697020753423.png

 


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.