Skip to main content
Nintex Community Menu Bar
Question

Uncheck all in Multipicklist

  • July 10, 2024
  • 7 replies
  • 0 views
  • Translate

Forum|alt.badge.img+3

Hi. I set the maximum value of my multipicklist field to 1. And what happens is I need to click the “Uncheck all” first in order to select one option. Any idea on how can I fix this? I’m trying to do it in javascript such that it will do “uncheck all” functionality but it’s not working tho.

Did this topic help you find an answer to your question?

7 replies

Forum|alt.badge.img+20

Max value of 1? As in the user may only select one? If so, that’s not exactly possible with a multiselect. You can override the metadata of the field and set as Picklist and manually add the values.

Unfortunately, there isn’t an easy declarative way of doing this that will stay updated with the options set in Salesforce. 

Translate

Forum|alt.badge.img+3

For the max value, I meant “Max selectable items” to 1. But what happens is you have to “Uncheck All” first in order to select an option.

Translate

Forum|alt.badge.img+3

Is it possible to do the “Uncheck all” functionality using a snippet?

Translate

Forum|alt.badge.img+20

Yes. model.updateRow(row,‘fieldapiname’,‘’)

Translate

Forum|alt.badge.img+3

I’ve tried that one. But I think this is a bug that when you set the Max selectable items to 1, you need to click “Uncheck All” first in order to select an option. But when it’s more than one or the value is not set, then you can select option/s without even clicking the “Uncheck All”

Translate

Forum|alt.badge.img+20

Where are you setting the max selectable items?

Translate

Forum|alt.badge.img+3

In the Field Properties above

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings