reload variable values when requested for changes

Eli7
Tera Expert

Hi All,

I have reference variables that loads values for the requested_for onload using advanced ref qualifier.

When I change the requested_for the initially loaded values are still available on the reference field.

Is there a way to trigger the variable reload without an onChange script or must this be scripted?

 

Any input appreciated!

1 ACCEPTED SOLUTION

Mark Manders
Mega Patron

You need to use an onChange script, because onLoad won't do anything when you change a value. But next to using advanced reference qualifier, why not use the 'auto-populate' functionality on the variables, referencing your 'requested for'. It will take care of both the reference qualifier and the onChange script. Just fill the variable you are checking and set the field to the correct value from the referenced table.

MarkManders_0-1728560714531.png

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

View solution in original post

2 REPLIES 2

Mark Manders
Mega Patron

You need to use an onChange script, because onLoad won't do anything when you change a value. But next to using advanced reference qualifier, why not use the 'auto-populate' functionality on the variables, referencing your 'requested for'. It will take care of both the reference qualifier and the onChange script. Just fill the variable you are checking and set the field to the correct value from the referenced table.

MarkManders_0-1728560714531.png

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

I have tried it but cannot get it to work. Its not changing the values with an onChange script either.