Remove None value

yuvasena
Kilo Contributor

Hi All,

I want to remove default --None-- value in subcategory. could any body help on this Please?.

I have duplicate nones, one is record produce(I have created) and other one is default value.

Thanks,

Pavan

1 ACCEPTED SOLUTION

Hi Pavan,



What build you are on? It sounds like a problem prior to geneva, include none option was loading as default even when Include none option is checked as false.



Try this workaround if you are prior to geneva:


If you want to show "—Choose—" instead of "—None—", you can add a new choice "—Choose—" with value "NULL_OVERRIDE" In the dictionary and set the choicelist action specification to "Dropdown without — None — " and set default value to "NULL_OVERRIDE". Also need to uncheck the "include none" checkbox in the Impact variable in record producer and set default value to "NULL_OVERRIDE".



Check if this helps.


Thanks


Shruti


If the reply was informational, please like, mark as helpful or mark as correct!


View solution in original post

6 REPLIES 6

Hi Pavan,



What build you are on? It sounds like a problem prior to geneva, include none option was loading as default even when Include none option is checked as false.



Try this workaround if you are prior to geneva:


If you want to show "—Choose—" instead of "—None—", you can add a new choice "—Choose—" with value "NULL_OVERRIDE" In the dictionary and set the choicelist action specification to "Dropdown without — None — " and set default value to "NULL_OVERRIDE". Also need to uncheck the "include none" checkbox in the Impact variable in record producer and set default value to "NULL_OVERRIDE".



Check if this helps.


Thanks


Shruti


If the reply was informational, please like, mark as helpful or mark as correct!


PriyaRanji
Tera Guru

Hi Pavan,



Good Day!



1. As you have create the variable with "selected box", you can unchecked the Include None check box. It will not include the None in your select box field.



2. In case, it is getting fail in that scenario you can try with g_form.removeOption();



3. Check whether you have added the default value as "None"



PS: Your feedback (Like, Helpful or Correct) helps community



Thanks,


Priyanka R