WebView.GetFormButtonValue
--------------------------

Gets the value of the specified Button.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebView](component_WebView.md) | [1.4](newinversion14.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "WebView.GetFormButtonValue"; WebViewerRef; FormNameOrIndex; ButtonNameOrIndex { ; OnlyVisible } ) 

**MBS**( **"WebView.GetFormButtonValue";** /\* Gets the value of the specified Button. \*/  
**$WebViewerRef**; /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. \*/   
**$FormNameOrIndex**; /\* Either the Name of the Form or the Index starting at 0 \*/   
**$ButtonNameOrIndex**; /\* The name of the button or the index \*/   
**$OnlyVisible**) /\* Optional; Whether to look for all fields or only the visible ones. Default is false.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. |  |  |
| FormNameOrIndex | Either the Name of the Form or the Index starting at 0 |  |  |
| ButtonNameOrIndex | The name of the button or the index |  |  |
| OnlyVisible | Whether to look for all fields or only the visible ones. Default is false. | 0 | Optional |

### Description

Gets the value of the specified Button.  
### See also

- [WebView.FindByName](WebViewFindByName.md)
- [WebView.GetFormInputValue](WebViewGetFormInputValue.md)
- [WebView.GetFormSelectValue](WebViewGetFormSelectValue.md)
- [WebView.GetFormTextAreaValue](WebViewGetFormTextAreaValue.md)
- [WebView.SetFormButtonValue](WebViewSetFormButtonValue.md)
- [WebView.SetFormInputValue](WebViewSetFormInputValue.md)
- [WebView.SetFormSelectValue](WebViewSetFormSelectValue.md)

This function checks for a license.

Created 18th August 2014 , last changed 19th January 2015

  
[WebView.GetForm](WebViewGetForm.md) - [WebView.GetFormCount](WebViewGetFormCount.md)

[HTML Version](WebViewGetFormButtonValue.shtml)