The CreatorCon Call for Content is officially open! Get started here.

Setting the Yes/No field's default value to None

JohnnySnow
Kilo Sage

Hi Team,

 

I have a catalog item with Yes/No as one of the field type. For this field we have also enabled 'Include None' option.

I want to set the default value to --None-- in this case. I have tried below options in Default value of the field

- Null

- ''

-None

- single space

All these creates a new option in the Yes/No field.  Setting the field value through client script works fine. But the issue is, if I'm not showing this field on the front end then in the flow designer when I lookup some values based on the front end selection, the value from this field comes as 'No' by default. Instead I want None to come up.

Does any one know how to set this value to None? 

Thanks

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.
11 REPLIES 11

Mohith Devatte
Tera Sage
Tera Sage

I THINK you dont need to do any thing for default value if you want to show none as default .

just make sure include none is checked 

proof below:

find_real_file.png

PLEASE MARK MY ANSWER CORRECT IF IT HELSP YOU

this is fine when you have the field on the form. That works fine in my case as well.

Try hiding this field from the front end and raise a request and check its value in the backend. This is where I'm facing the problem

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.