ListDialog.GetSelectedTitle
---------------------------

Queries title of the selected item.

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

MBS( "ListDialog.GetSelectedTitle" ) ### Parameters

none

### Result

Returns text.

### Description

Queries title of the selected item.  
Text is empty if nothing is selected.  
This can be a list if used with multiple selection.  
### See also

- [ListDialog.AddItemsToList](ListDialogAddItemsToList.md)
- [ListDialog.GetCheckedTitles](ListDialogGetCheckedTitles.md)
- [ListDialog.GetSelectedTag](ListDialogGetSelectedTag.md)
- [ListDialog.SetOtherButtonEvaluate](ListDialogSetOtherButtonEvaluate.md)
- [ListDialog.SetSelectedTag](ListDialogSetSelectedTag.md)
- [ListDialog.SetSelectedTitle](ListDialogSetSelectedTitle.md)
- [ListDialog.ShowDialog](ListDialogShowDialog.md)

### Release notes

- **Version 13.2**
    - Changed [ListDialog.SetOtherButtonEvaluate](https://www.mbsplugins.eu/ListDialogSetOtherButtonEvaluate.shtml) to query selection, so you can query it using [ListDialog.GetSelectedTag](https://www.mbsplugins.eu/ListDialogGetSelectedTag.shtml) and [ListDialog.GetSelectedTitle](https://www.mbsplugins.eu/ListDialogGetSelectedTitle.shtml) in your expression.

### 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_)
- [SmartCard/Belgian EID Reader](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/Belgian%20EID%20Reader.shtml#6ScriptAnchor_)

### Blog Entries

- [ListDialog for iOS](https://www.mbsplugins.de/archive/2025-08-18/ListDialog_for_iOS/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin Advent calendar: 22 - ListDialog](https://www.mbsplugins.de/archive/2023-12-22/MBS_Plugin_Advent_calendar_22_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.2pr3](https://www.mbsplugins.de/archive/2023-04-20/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

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

  
[ListDialog.GetSelectedTag](ListDialogGetSelectedTag.md) - [ListDialog.GetShowCheckboxes](ListDialogGetShowCheckboxes.md)

[HTML Version](ListDialogGetSelectedTitle.shtml)