[Mobile] - onchange client script equivalent in ServiceNow Mobile

Gno
Tera Contributor

Hi,

 

I am currently working with Mobile App builder.

Is there a way for us to set a value on a field depending on the value from a different field?

Like an onchange client script on field1 to set value in field2?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Ashmi Chheda
ServiceNow Employee
ServiceNow Employee

Hi, you can go through the below documentation (Configure input form screen and using UI rule actions using client script to change field values) and configure based on the instructions to see if it works?

 

https://www.servicenow.com/docs/bundle/yokohama-mobile/page/administer/tablet-mobile-ui/task/config-...

 

https://www.servicenow.com/docs/bundle/yokohama-api-reference/page/app-store/dev_portal/API_referenc...

View solution in original post

4 REPLIES 4

Community Alums
Not applicable

Hi @Gno ,

Please refer to this video :https://www.youtube.com/watch?v=ConT_Jxmd7c

 

Hi @Community Alums , thank you for the response but the video tells us only how to autofill inputs during first load of the input screen not with a change of a field.

Ashmi Chheda
ServiceNow Employee
ServiceNow Employee

Hi, you can go through the below documentation (Configure input form screen and using UI rule actions using client script to change field values) and configure based on the instructions to see if it works?

 

https://www.servicenow.com/docs/bundle/yokohama-mobile/page/administer/tablet-mobile-ui/task/config-...

 

https://www.servicenow.com/docs/bundle/yokohama-api-reference/page/app-store/dev_portal/API_referenc...

Did someone managed to use ui action- Run onChange client script using GlideAjax?