Add input field to checkbox

Benedikt Kaiser
Tera Contributor

Hi, 

 

I have a catalog item where I want to show 3 checkboxes. Two boxes should have fixed values, and on box should have the option, that the user can write something.

This should look likes this:

Checkboxes.PNG

In ServiceNOW I have created a variable with the type "Multiple Choice" and created the different choices. 

BenediktKaiser_0-1673601911536.png

 

However, now I am not sure how I can adjust the choice "Sonstiges" in order to get a input field to the checkbox.

 

Thank you in advanced, 

best regards,

 

Benedikt Kaiser

 

1 ACCEPTED SOLUTION

Hi @Benedikt Kaiser 

 

You can simply create Catalog UI Policy from the related list of your Catalog Item. 

 

Condition: Operation Time is Sonstiges.

 

UI Policy Action: 

field/variable - Sonstiges

Visible - TRUE

Rest you can just leave alone.

 

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

View solution in original post

6 REPLIES 6

Vaibhav127
Tera Guru

Hi Benedikt, 

You can create a new input type variable and show that field when "Sonstiges" is selected.

Omkar
Tera Contributor

Rather than having 3 checkboxes, having 2 checkboxes (for fixed values) and a single line text variable (for user input) seems to be better approach here.
Of course, that depends on the requirement you have.