Radio Buttons in Servicenow Forms

anubhavkapoor76
ServiceNow Employee
ServiceNow Employee

Hi All,

Do we have the option of Radio buttons in Service Now forms on Platform UI?

1 ACCEPTED SOLUTION

Hey Anubhav,

To create radio button in ServiceNow form, not on catalog form first you have to navigate to sys_glide_object table. search radio and make visible true. and then use that radio type in form.follow below screenshot.

find_real_file.png

In form design find field type as radio drag and drop

find_real_file.png

Incident form,

find_real_file.png

 

kindly mark Correct and Helpful if my answer is Useful.

Regards,

Indrajit.

View solution in original post

22 REPLIES 22

Hi @Indrajit,

 

I am not able activate radio button field type on the native form, It is throwing error "Security prevents writing to this field"

Srinivasu2_0-1714488253529.png

 

Please advise

 

Thanks,

Srinivasu

I try to change visibility of radio button but show me security prevent writing to this field .

OOTB its not available, it has been hidden , instead of going with radio type button use true/false type field. 

 

still you wanna try/play, you can have look on below link on your instance and enable it . 

 

https://<Yourinstance>.service-now.com/nav_to.do?uri=%2Fsys_glide_object_list.do%3Fsysparm_query%3DnameLIKEradio%26sysparm_first_row%3D1%26sysparm_view%3D%26sysparm_choice_query_raw%3D%26sysparm_list_header_search%3Dtrue

 

script to enable it

 

var gr = new GlideRecord('sys_glide_object');
gr.get('0cc267c1bf3320001875647fcf0739f4');
gr.visible=true;
gr.setWorkflow(false);
gr.update();

 

Note: it's not good practice. 

Yep i realized the same way, however just looking for reasons as why its not a good one.

May be because of too many entries and its becomes clustered. From UX point of view.

reason has not been updated on any doc , but yes if you will try and add over the form then you will observe its not actually look so nice and clear over the form. TBH not sure the exact answer why it has not been enabled .