FileDialog.GetNameFieldStringValue
----------------------------------

Returns the user-editable filename currently shown in the name field.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [FileDialog](component_FileDialog.md) | [2.7](newinversion27.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "FileDialog.GetNameFieldStringValue" ) ### Parameters

none

### Result

Returns the text.

### Description

Returns the user-editable filename currently shown in the name field.  
### See also

- [FileDialog.SetNameFieldStringValue](FileDialogSetNameFieldStringValue.md)

### Release notes

- **Version 11.0**
    - Fixed [FileDialog.GetNameFieldStringValue](https://www.mbsplugins.eu/FileDialogGetNameFieldStringValue.shtml) for Windows to return name of chosen file after dialog showed.
- **Version 7.3**
    - Fixed [FileDialog.GetNameFieldStringValue](http://www.mbsplugins.eu/FileDialogGetNameFieldStringValue.shtml) function to provide name from dialog.

### Blog Entries

- [MBS FileMaker Plugin, version 11.0pr7](https://www.mbsplugins.de/archive/2021-01-13/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.3pr1](https://www.mbsplugins.de/archive/2017-06-05/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function is free to use.

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

  
[FileDialog.GetNameFieldLabel](FileDialogGetNameFieldLabel.md) - [FileDialog.GetPath](FileDialogGetPath.md)

[HTML Version](FileDialogGetNameFieldStringValue.shtml)