I need to auto populate fields based on Requested for field?

Andre241
Tera Contributor

Hello I need to Auto populate these fields Manager, Email & Business Phone from the User table when anyone selects a user in the the Requested For field of this Catalog Item. find_real_file.png

They need to change every time a different user is selected in the "Who is this request for?" field which fall under the "requested for" type. I know I need a client script probably, but any OOB ideas would be great to. Please I need step by step guidance, scripts or photos. Not links. 

18 REPLIES 18

scott barnard1
Kilo Sage

Hi Andre you can do a couple of scripts client side or you can use data lookup. What version are you on?

I'm doing it on two different versions. Rome and Quebec

For the data lookup here is an example:

find_real_file.png

two variables on the item

find_real_file.pngOne data lookup definition

find_real_file.png

Catalog Matcher def

find_real_file.png

Catalog Setter variable

 

This basically sets the email variable to the value of email in the requested for variable

or alternatively in an onLoad and onChange client scripts.

 

on load:

find_real_file.png

On Change

 

find_real_file.png