- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2017 11:30 PM
Hi All,
I have been attempting to override the "--None--" value of a dependent choice list to "--", but unable to do so. I have tried to implement the same by using Choice List table(through NULL_OVERRIDE) and onChange Client Script (through addOption, removeOption), but in vain. Is there a way through which the "--None--" value could be overridden for dependent choice list?
Any solution or suggestions would be highly appreciated.
Thanks!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2017 11:39 PM
Hi this looks like a known issue...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2017 11:39 PM
Hi this looks like a known issue...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 12:08 AM
Thanks Regina!!
Was hoping to arrive at a definite conclusion and the Article surely provided the same.
But, I hope the reported known bug would get resolved soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2021 02:11 PM
Maybe it will useful for someone.
Regarding forms, we can use the g_form class to disappear --None-- in the choice list.
We create client script 'on load' where have such code:
// g_form.removeOption('field', '');
But in this case with instead --None-- we will have the next 'choice' (next variant in the choice list) in the chosen field ('Email' in my example).
In this situation, we can use script 'on load' where have such code:
// function onLoad() {
// if (g_form.getValue('field') == '') {
// g_form.removeOption('field', '');
// g_form.setValue('field', '');
// } else {
// g_form.removeOption('field', '');
// }
// }
After that, --None-- disappeared and the field will be empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2022 03:30 PM
You're a genius! Thank you for this