Populate values based upon the variable selection.

JVINAY
Tera Contributor

Hi Team,

I have created 4 fields in the form ( Record producer ), based on the questions from " Is this associated with a business application (APMID)" section

the remaining 3 questions are designed to auto populate  values based on the " Is this associated with a business application (APMID)"

These 5 fields are linked to the Business application ( cmdb_ci_business_app) .

JVINAY_3-1742294233345.png

 

fields and backend values :

 

 

I have written On-Change client script , but the values are not populating as expected. could you please assist me 

JVINAY_1-1742293903028.png

JVINAY_2-1742293950797.png

Thank you .

 

 

11 REPLIES 11

Yes These 3 fields are stored in question_answer table. FYR attached screenshots.

JVINAY_0-1742383842103.png

JVINAY_1-1742383927711.png

 

Thank you.

Shivalika
Mega Sage

Hello @JVINAY 

 

Please keep the reference field as "Reference type" and for other dependent fields, use "auto populate" tab in the variable. From there you can choose the dependent question and in the value field you can dot walk and choose particular values you want to auto populate it with. 

 

On change would do the same but definitely not directly, it needs Glide Ajax which is really not needed in this scenario. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway,

 

Regards,

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwN

eEISQCY