Disable options in Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2024 05:21 AM
Hi all,
I would like to disable some options inside a variable of type SelectBox. Although, i achieved it in the classic view, implementing a client script, in HR Agent Workspace it doesn't work because of
Is there any alternative to make it work also for the HR Workspace?
Thank you in advance!
#Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2024 06:58 AM
Hello @GeoVic Gkou ,
In the client script we have inbuilt method g_form.hideOption(). Please try it this method so it will hide the options inside the select box
Thank you.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2024 07:04 AM
Hi @Shraddha Kadam , Should the syntax be like this "g_form.hideOption('variable_name' , 'option1_value');" ?
Because is not in the recommended methods.
Also is there a method to show the options?If yes can you please provide the syntax?
The hideOption with the above syntax is not working like i wrote it.
Thanks!