Pre-Populate Change request field value

Pallavi65
Tera Contributor

Hello all,

 

I have created a URL type field on the change task form.

So, once the link is clicked by the user, it will redirect to new Normal Change request form.

Here, I want to populate a Select box field value with Yes, on change request form once it is opened.

 

Can someone tell me how can I achieve this?

 

REgards,

Pallavi

9 REPLIES 9

Samaksh Wani
Giga Sage
Giga Sage

Hi Pallavi,

 

Plz Write a  OnLoad Client Script on the Table(Change Request) where you have the select box. g_form.setValue will be used for setting the check box as yes.

 

Mark it Accepted, if you find it Helpful.

 

Regards,

Samaksh

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi Pallavi,

 

Greetings!!

 

This can be achievable via client side scripts. You can you onload client side script and set the values. Hope this will work for you. Also if you need more about scripting, you can follow playlist:

https://youtube.com/playlist?list=PLi0Ik1xCDEbK5BJme5YSGZASvl0nkaFHn

 

Please mark my answer helpful/ solution accepted , if it serve the purpose. 

 

Regards

Atul G.

*************************************************************************************************************
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]

****************************************************************************************************************

Thanks, Atul. I also found this helpful. 

Samaksh Wani
Giga Sage
Giga Sage

Hi Pallavi,

 

Plz Mark my Solution as Accepted,  you find it helpful.

 

Regards,

Samaksh