Display Annotation field on Change Mgmt form based on another field

stevezempke
Tera Contributor

on my change mgmt form, i have a field called 'reason for change'.  when i select an option, say option A, from that list, i need to have an annotation field display but only for that option.  any other selected option, options B-Z, from the 'reason for change' list should not display the annotation field.

currently i have it displaying on the form for all reason's for change as i can't find the process to toggle it.

not sure if annotation is the correct way to do this or if some sort of message or information text box would work.

any thoughts and steps to help out would be appreciated.

Thanks.

Steve

11 REPLIES 11

i used the method above, modifying the pieces as needed, and i got it to work.  the message value now displays under the field it needs to.

Thanks for your help!  most helpful.

Ajay_Chavan
Kilo Sage

hey instead why dont you try g_form.showFieldMsg()  it would be easy to write a client script.

refer:https://docs.servicenow.com/bundle/newyork-application-development/page/script/useful-scripts/refere...

 

please mark correct if this resolves your query

regards

ajay

Glad I could help! If this solved your issue, please mark it as Helpful and Accept as Solution so others can benefit too.*****Chavan A.P. | Technical Architect | Certified Professional*****