Client script not working on mobile version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2025 01:13 PM
Hi,
This script is executing only on desktop version and not triggering on mobile version, u_impact_1 and u_impact_12 have been hidden by another Client script, but these values changes to true on desktop version(xml) after the script execute. Do you have any suggestion? Thank you
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
var assessment = g_form.getValue('u_assessment’) == '1'
|| g_form.getValue('u_assessment’) == '999';
g_form.setValue('u_impact_1’, assessment);
g_form.setValue('u_impact_12’, assessment);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 07:57 AM
Hi @Kavirao
Hope you select All
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************