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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2016 10:25 AM
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.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 02:29 AM
The checkboxes can't be created on Table form, its only in Service Catalog - but you can attain the same behavior with the list datatype -
Create a list variable on the form and in the list variable, give the choices you want in the related list of Choices
Then when the user wants to select the different values, then it can be added in the list variable (ex: watch list on incident)
The variable will store all the values selected while submitting the form -
Label Value ( in the choice tab)
option1 return 1
option2 return 2
option3 return 3
Mark if it is helpful or correct, feedback is appreciated

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 02:35 AM
thank you for the answer, in fact i need checkboxes but i will see you suggetion.
and about radio button do you have any idea ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 02:56 AM
I am not sure there is direct radio button, but you can mimic the radio button feature using other data types.
In case of radio button, there will be possibility of selecting only one option out of Options given
Question 1:
- Option 1
- Option 2
- Option 3 etc..
Out of the options, only one can be selected.
Isn't it the same behavior as like Choice Select box, where you can select only one Option out of the choices
I can understand, that visually you want it to look like Radio box or Check box for the end user.
You can do this atleast-
Create a catalog item for the end user and make sure end user uses that catalog item to input the details
In catalog item, you can give check boxes and radio buttons
On Submission, input into the table into the fields (list field for Check boxes and Select choice box for Radio buttons)
The record will be created fine.
In this way, the experience for end user (i.e looking at checkboxes and radio buttons) are preserved
and the data in table is stored fine.
This is more of workaround. I hope it will be helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 03:05 AM
thank you so much for all your answers, in fact i would to know if there is a method to do that.
thank you so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 03:06 AM
you are welcome, your requirement is valid, when we can add checkboxes or radio buttons on catalog form, we should be able to add on table form also.