Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to hide multiple choice option on the form?

Blessy2
Tera Contributor

Hi,

Requirement :  To hide multiple choice option based on other field change

I tried with onChange client script. Checked using g_form.removeoption, setDisplay, setVisible. But not able to hide the radio button.

Is there a way to hide the radio button?

Thanks in advance

 

 

8 REPLIES 8

Musab Rasheed
Tera Sage

Hi Blessy,

Try this below link.

https://community.servicenow.com/community?id=community_question&sys_id=253647a1db1cdbc01dcaf3231f9619db

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab

Hi, Thanks for your response.

I want to hide the radio button option based on other field change

find_real_file.png

Check this out

https://community.servicenow.com/community?id=community_question&sys_id=ab9852c0db35d7400e3dfb651f96195f

Please hit like and mark my response as correct if that helps
Regards,
Musab

Vishnu Prasad K
Giga Guru

Hi Blessy,

 

Since each radio is a variable, you should use a UI policy or catalog client script with g_form.setVisible