Accessing other form variables from inside multi-row variable pop-up

Jamie Imms
Kilo Expert

Hello,

I am having trouble accessing other variables on a form from within the screen to add a row to a multi-row variable set.

If I run an onChange Client Script on a variable inside the multi-row variable, I don't seem to be able to access variables that are not in the multi-row variable.

Here is an example:

find_real_file.png

find_real_file.png

 

find_real_file.png

 

If I set the value in the Multi-Row Variable to "Yes", it should be printing out the value of the "Please Print Me" field in a field message, but it seems like I am unable to access it.

 

22 REPLIES 22

MMKK
Tera Expert

Hi James,

This is the limitation from the multi row variable set. Alternatively, can you make use of Business Rules and write logic that the rule should be executed only when a certain variable changes?

Thank you for your reply. What kind of Business Rule would you recommend running for changing what values are able to be picked when entering in a row into a Multi Row variable set, based on the contents of another variable?

kchorny
Tera Guru

Sorry I don't have the answers, but I am having the same issue - I want to populate a variable on the item form that is not within the multi-row variable set based on variable values that are in the variable set.  So I'm tagging along hoping you get some hints....

kailashthiyagar
Kilo Guru

I had the same issue and ended up doing that in onSubmit script of the catalog item. 

In the OnSubmit script, i get the multi row variable set fields and perform the required operation and populate the variable on the form.