ListDialog.SetOtherButtonNeedsSelection
---------------------------------------

Sets whether an other button needs a selection just like Select button.

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

MBS( "ListDialog.SetOtherButtonNeedsSelection"; Value { ; ButtonIndex } ) 

**MBS**( **"ListDialog.SetOtherButtonNeedsSelection";** /\* Sets whether an other button needs a selection just like Select button. \*/  
**$Value**; /\* The new value to use.e.g. 1 \*/   
**$ButtonIndex**) /\* Optional; The index for the other button from 0 to 2.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Value | The new value to use. | 1 |  |
| ButtonIndex | The index for the other button from 0 to 2. | 0 | Optional |

### Result

Returns OK or error.

### Description

Sets whether an other button needs a selection just like Select button.  
### Examples

Configure other button:

 Set Variable \[ $r ; Value: MBS ("[ListDialog.SetOtherButtonLabel](ListDialogSetOtherButtonLabel.md)"; "Print") \]  
Set Variable \[ $r ; Value: MBS ("[ListDialog.SetOtherButtonValue](ListDialogSetOtherButtonValue.md)"; "Print") \]  
Set Variable \[ $r ; Value: MBS ("ListDialog.SetOtherButtonNeedsSelection"; 1) \]  
### See also

- [Dialog.SetOtherButton](DialogSetOtherButton.md)
- [ListDialog.GetOtherButtonNeedsSelection](ListDialogGetOtherButtonNeedsSelection.md)
- [ListDialog.SetOtherButtonLabel](ListDialogSetOtherButtonLabel.md)
- [ListDialog.SetOtherButtonValue](ListDialogSetOtherButtonValue.md)

### Release notes

- **Version 15.2**
    - Added [ListDialog.SetOtherButtonNeedsSelection](https://www.mbsplugins.eu/ListDialogSetOtherButtonNeedsSelection.shtml) and [ListDialog.GetOtherButtonNeedsSelection](https://www.mbsplugins.eu/ListDialogGetOtherButtonNeedsSelection.shtml) functions.

### Blog Entries

- [News in MBS FileMaker Plugin 15.2](https://www.mbsplugins.de/archive/2025-05-13/News_in_MBS_FileMaker_Plugin_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.2pr3](https://www.mbsplugins.de/archive/2025-04-10/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 9th April 2025 , last changed 11st April 2025

  
[ListDialog.SetOtherButtonLabel](ListDialogSetOtherButtonLabel.md) - [ListDialog.SetOtherButtonValue](ListDialogSetOtherButtonValue.md)

[HTML Version](ListDialogSetOtherButtonNeedsSelection.shtml)