- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2016 08:02 PM
Hi Team,
I am unable to set a choice field as None when my condition fails. Below are the screenshots
Execute if true
function onCondition() {
if(g_form.getValue('legends') == 'Between Expected & Minimum Target')
g_form.setValue('d_type','Expected Default');
if(g_form.getValue('legends') == 'Less than Minimum Target')
g_form.setValue('d_type','Minimum Default');
}
Execute if false
function onCondition() {
g_form.clearValue('d_type');
}
-------------------------------------------------------------------------------------------------------------------
In execute if False,
I tried all options to set this value as '--None--'
but it did not worked.
In my legends
Thank You for your support and help.
Regards,
Narmi
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2016 10:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2016 11:38 PM
Hi Kalaiarasan,
Just adding And condition worked for me.
Thank You everyone for responding.
Regards,
Narmi