Mandatory on Checkboxes in Service Portal

qqj5004
Kilo Contributor

Hi all

I am having an issue with mandatory checkbox. In Jarkata we have format below

Label (mandatory if no checkbox is selected)

checkbox1

checkbox2

checkbox3

In Service Portal, I can't make the same feature happen. I had considered the onsubmit client script, but on users's perspective, it is not a good practice for user experience because every time they submit a form, alert pop up. What if there is case checkbox within checkbox, like checkboxes show based on first checkbox list.

Is there any solution on this issue? Please help.  

Thank you

12 REPLIES 12

Hi Qili,



My apologies. I understand now.



Unfortunately, in this case, the Service Portal team didn't make the catalog forms render exactly the same as in the native UI. In order to do the same functionality as the native side you have these choices:



1) Use a client script


2) Create a clone of the out-of-box catalog item widget and change the html mark up and client side functionality of the view


3) Create a custom embedded widget to place in your catalog items that where you would write a script to handle the functionality you want.



There may be other ways to do it but those are the ones that come to mind.


nandusubbu
Tera Contributor

Hi,

I am also facing the same issue in Jakarta.

Do we have anything else instead of a On submit client script or cloning a widget.

Or are we getting a fix for this in next releases?

kedler
Kilo Guru

I am also seeing this issue

This is corrected in Kingston. The checkboxes function the same way they do in the native ui.

not working for me. I am in Kingston