Populate values based upon the variable selection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 03:38 AM
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) .
fields and backend values :
I have written On-Change client script , but the values are not populating as expected. could you please assist me
Thank you .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 04:33 AM
Yes These 3 fields are stored in question_answer table. FYR attached screenshots.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 03:46 AM
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