Radio buttons in form

UPASANA2
Mega Expert

Can we add or create radio buttons in an existing form ?

2 REPLIES 2

Mahira
Tera Guru

I know we can create radio buttons variables on a catalog item.
But I dont think there is any option to create a radio button field via personalise form on a normal form...


kamlesh kjmar
Mega Sage
Mega Sage

Yes, we can create radio button even on form by making change in System UI properties.. To do that :-



1. Go to UI properties [system_properties_ui].


2. Go to   option "Maximum allowed choices displayed as radio buttons and enter the number upto which option will appear as radio button.


3


3. Now go to form and create a field with field type as 'Choice' and enter max to max 3 choices.



This will add 3 options as a radio button on the form.



NOTE : However this is not advisable. Since this is a system UI properties, it will change all the dropdown fields existing on any form the radio button where total number of choices are <=3 to .



ServiceNow Developer


Kamlesh Kumar