how to add checkbox and radio button fields in a form ?

Adil JEBLI
Mega Expert

Hi,
I want to add checkboxes and radio button in my form, do you have any idea how to do that ?
I check in google and the wiki of servicenow but it existe like a variable in catalog item, in my case i want to add them in my own interface.
thank you.

18 REPLIES 18

I want to add checkboxes for my own interface, that means that i have a new table !


Form layout or Form designer will do what you need.


If you give further details what are you working on, it would be easier to provide a better solution.


When exactly you would like to return a value ? which kind of value is it ?



If you would like to check if the the option 1 is ticked or not, then you can write an onLoad / onChange client script and get the value of the field.


ghsrikanth
Tera Guru

Hi Adil,



If you want checkboxes then you have to go to Table definition or Form Design and create as many options. I think most of the people as answered your question I guess.


If it still didnt solve the issue, could you please more specific, may be screenshots will help


hi again,
the issue is i want to create many options, each option return a unique value.
the solution that I know is to creat many fields of the type "true/false" i don't if there is more possibilities.



ok, let's take that solution and tell me how to create radio button please !