Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to set the Record Producer Description using an onLoad client script or onChange

Peter Williams
Kilo Sage

Does anyone know how to set the Description field on a record producer base on a user selection

 

by description i mean this field

 

PeterWilliams_0-1709738591478.png

 

i tried using g_form.setValue('description', 'Test");

 

it didnt work

6 REPLIES 6

Hi @Peter Williams ,

 

Please refer the below article,

https://www.servicenow.com/community/developer-forum/dynamically-change-catalog-item-description-fie... 

 

Please check and Mark Helpful and Correct if it really helps you.

Regards,

Swathi Sarang

Maddysunil
Kilo Sage

@Peter Williams 

This Record producer field not variable so you can set the required value directly on the record producer.

Please Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks