- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 06:28 AM
Is there a way to only allow certain currencies to show within a currency field? I would like to only display USD on a certain form but allow other currencies on other forms. Is there a way to control which currency options show?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 11:25 AM
Heyy @ChadLee4 I found a solution for you.
Write an onLoad Client script on a table and use below code
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.removeOption('fieldName.currency_type', 'CHF');
g_form.removeOption('fieldName.currency_type', 'GBP');
g_form.removeOption('fieldName.currency_type', 'JPY');
g_form.removeOption('fieldName.currency_type', 'EUR');
}
Please mark my answer Correct/Helpful
Regards,
Sid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 06:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 06:52 AM
Thank you for the response -- However, I don't want a system-wide default, just a default for a specific form/table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 11:25 AM
Heyy @ChadLee4 I found a solution for you.
Write an onLoad Client script on a table and use below code
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.removeOption('fieldName.currency_type', 'CHF');
g_form.removeOption('fieldName.currency_type', 'GBP');
g_form.removeOption('fieldName.currency_type', 'JPY');
g_form.removeOption('fieldName.currency_type', 'EUR');
}
Please mark my answer Correct/Helpful
Regards,
Sid