Is it possible to change the label over checkboxes without losing functionality?

jordanr
Tera Contributor

I have several forms where we have a list of checkbox variables so the user can select multiple options. Is it possible to change the label with a catalog UI Policy while keeping the list functionality in tact. 

Example: 

Our access forms contain lists of roles the users can select. I would like to change the label from "Please select role" to "Please select the roles you would like to remove." based on another form question that asks if it is an add/modify or remove request type. 

It seems that I was able to do this previously by using 2 labels with the same order and setting a catalog ui policy to display the correct label (this was several release ago). When the checkbox functionality was enhanced (selection required, visibility of all checkboxes based on label control) I lost the ability to do this because all of the checkboxes must be ordered directly after the label.

Does know of a way to avoid creating duplicate variables just to clarify the label?

 

Any tips or solutions is greatly appreciated!

5 REPLIES 5

Community Alums
Not applicable

My first suggestion would be to not alter the label at all.

If I am right in understanding your form design, you are using it to request the addition or removal of roles.

In such a case I would use the same label for both, with the choice of addition or removal above.

 

A design such as:

I would like to 

Add [ ] , Remove [ ]

Please select role (s)

- role 1 [ ]

- role 2 [ ]

 

Would seem quite clear and user friendly to me, and eliminate the need to dynamically change the label.

Masarrat Siddi1
Kilo Guru

There is no direct method available in Service Catalog which can allow you to change the label. Please refer below screenshot.

 

find_real_file.png

 

Thanks!!

dhanashreemore
Kilo Expert

Rahul Kumar Sha
Giga Contributor

Hi Jordanr

 

I  think you can even achieve this using dictionary overrides.

 

Regards

Rahul