ListDialog.SetAllowMultipleSelection
------------------------------------

Sets whether multiple selection is allowed.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ListDialog](component_ListDialog.md) | [4.2](newinversion42.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "ListDialog.SetAllowMultipleSelection"; Value ) 

**MBS**( **"ListDialog.SetAllowMultipleSelection";** /\* Sets whether multiple selection is allowed. \*/  
**$Value**) /\* Whether to allow multiple selections. Pass 1 to allow and 0 to disallow.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | Whether to allow multiple selections. Pass 1 to allow and 0 to disallow. | 1 |

### Result

Returns OK.

### Description

Sets whether multiple selection is allowed.  
### Examples

Enable multiple selection:

 MBS ( "ListDialog.SetAllowMultipleSelection"; 1 )  
Disable multiple selection:

 MBS ( "ListDialog.SetAllowMultipleSelection"; 0 )  
### See also

- [List.HasValue](ListHasValue.md)
- [ListDialog.GetAllowEmptySelection](ListDialogGetAllowEmptySelection.md)
- [ListDialog.GetAllowMultipleSelection](ListDialogGetAllowMultipleSelection.md)
- [ListDialog.SetAllowEmptySelection](ListDialogSetAllowEmptySelection.md)
- [ListDialog.ShowDialog](ListDialogShowDialog.md)

### Example Databases

- [List/ListDialog Grouping](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/List/ListDialog%20Grouping.shtml#1ScriptAnchor_)
- [List/ListDialog](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/List/ListDialog.shtml#1ScriptAnchor_)
- [Mac and iOS/PDFKit/PDFKit Print Documents](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/PDFKit%20Print%20Documents.shtml#3ScriptAnchor_)

### Blog Entries

- [ListDialog for iOS](https://www.mbsplugins.de/archive/2025-08-18/ListDialog_for_iOS/monkeybreadsoftware_blog_filemaker)
- [List dialog with checkboxes](https://www.mbsplugins.de/archive/2023-10-20/List_dialog_with_checkboxes/monkeybreadsoftware_blog_filemaker)
- [New functions of the MBS Plugin Version 9.5](https://www.mbsplugins.de/archive/2019-11-21/New_functions_of_the_MBS_Plugi/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[ListDialog.SetAllowEmptySelection](ListDialogSetAllowEmptySelection.md) - [ListDialog.SetCancelButtonLabel](ListDialogSetCancelButtonLabel.md)

[HTML Version](ListDialogSetAllowMultipleSelection.shtml)