- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 12:21 PM
Hi,
I have 2 variables in a variable set that I am using on a form. The first variable is requested_for using the type Requested For:
I have another variable manager.
All I need to do is populate that variable (manager) with the manager of the user in Requested For. This should be easy, however it is taking all day and I still cannot get it to work. I'm about to go insane.
Thanks in advance for any assistance.
Diana
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 01:18 PM
no... you need to create a catalog client script, not the regular client script. Instead of table, field you select variable set, variable. it should look more or less like this:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 12:28 PM
Hi,
This should follow the same concept as a normal reference field.
What have you tried so far? Unfortunately, you didn't specify so I didn't want to waste anyone's time suggesting something you've already tried yourself.
With that said though, do you have this variable being populated onLoad with a name and you just want the manager for the other field? Or is this field editable and the user could change it, so you need to dynamically be able to swap to the next person they've selected and their manager? Or both scenarios?
Please provide more information.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 12:45 PM
You can simply use:
javacsript:current.variables.requested_for.manager;
Or whatever your "requested_for" variable name is, use that.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 12:47 PM
Hi Allen,
Would that be put in the reference qualifier?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 12:53 PM
Hi,
Default value.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!