How to remove currency types in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 09:44 AM
I have currency fields in my scoped application form and a requirement to hide all but the USD currency type option.
The following code in my onLoad client script seems to work only in the backend UI. Is there a way to make this work on the Service Portal?
The UI Type is set to All.
function onLoad() {
g_form.removeOption('tuition_costs.currency_type','CHF');
g_form.removeOption('tuition_costs.currency_type','GBP');
...
}
What am I missing? Any help is greatly appreciated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 01:27 PM - edited 12-06-2023 01:27 PM
Hi @Nichole L,
To use it in a out of the box way, please refer for the below documentation:
If you found my answer helpful or correct in any way, please don't forget to mark it to help future readers! 👍
--
Kind regards,
Marcos Kassak
Solution Consultant 🎯